From 75f8b2249cad94708ddb5bfff7361ea996d0c82b Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Thu, 16 Feb 2006 13:00:42 +0000 Subject: Update to the new polypaudio API. git-svn-id: file:///home/lennart/svn/public/paman/trunk@47 cdefa82f-4ce1-0310-97f5-ab6066f37c3c --- src/ClientWindow.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/ClientWindow.cc') diff --git a/src/ClientWindow.cc b/src/ClientWindow.cc index 014095b..5a1221a 100644 --- a/src/ClientWindow.cc +++ b/src/ClientWindow.cc @@ -8,7 +8,7 @@ ClientWindow::ClientWindow(BaseObjectType* cobject, const Glib::RefPtr& refGlade) : Gtk::Window(cobject), nameLabel(NULL), - typeidLabel(NULL), + driverLabel(NULL), indexLabel(NULL), ownerModuleLabel(NULL), closeButton(NULL), @@ -16,7 +16,7 @@ ClientWindow::ClientWindow(BaseObjectType* cobject, const Glib::RefPtrget_widget("nameLabel", nameLabel); - refGlade->get_widget("typeidLabel", typeidLabel); + refGlade->get_widget("driverLabel", driverLabel); refGlade->get_widget("indexLabel", indexLabel); refGlade->get_widget("ownerModuleLabel", ownerModuleLabel); refGlade->get_widget("closeButton", closeButton); @@ -40,7 +40,7 @@ void ClientWindow::updateInfo(const ClientInfo &i) { nameLabel->set_text(i.name); - typeidLabel->set_text(pa_typeid_to_string(i._typeid, t, sizeof(t))); + driverLabel->set_text(i.driver); snprintf(t, sizeof(t), "#%u", i.index); indexLabel->set_text(t); -- cgit