From c4208bfd8ed9570116ea00c76a7b78b6f20e00b7 Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Wed, 18 Mar 2009 21:01:03 +0000 Subject: Use C style comments as per Lennart's fetish :p --- src/cardwidget.cc | 2 +- src/cardwidget.h | 3 +-- src/mainwindow.cc | 1 - src/pavucontrol.cc | 2 +- 4 files changed, 3 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/cardwidget.cc b/src/cardwidget.cc index 8be1d73..ea4b208 100644 --- a/src/cardwidget.cc +++ b/src/cardwidget.cc @@ -54,7 +54,7 @@ void CardWidget::prepareMenu() { int active_idx = -1; treeModel->clear(); - //Fill the ComboBox's Tree Model: + /* Fill the ComboBox's Tree Model */ for (std::map::iterator i = profiles.begin(); i != profiles.end(); ++i) { Gtk::TreeModel::Row row = *(treeModel->append()); row[profileModel.name] = i->first; diff --git a/src/cardwidget.h b/src/cardwidget.h index bca22c1..d420c83 100644 --- a/src/cardwidget.h +++ b/src/cardwidget.h @@ -46,7 +46,7 @@ public: protected: virtual void onProfileChange(); - //Tree model columns: + /* Tree model columns */ class ModelColumns : public Gtk::TreeModel::ColumnRecord { public: @@ -60,7 +60,6 @@ protected: ModelColumns profileModel; - //Child widgets: Gtk::ComboBox *profileList; Glib::RefPtr treeModel; }; diff --git a/src/mainwindow.cc b/src/mainwindow.cc index 3cfecc3..b81f0d7 100644 --- a/src/mainwindow.cc +++ b/src/mainwindow.cc @@ -143,7 +143,6 @@ void MainWindow::updateCard(const pa_card_info &info) { w->profiles.insert(std::pair(info.profiles[i].name, info.profiles[i].description)); } w->activeProfile = info.active_profile->name; - //w->defaultMenuItem.set_active(w->name == defaultSinkName); w->updating = false; diff --git a/src/pavucontrol.cc b/src/pavucontrol.cc index 66721ba..358c7b6 100644 --- a/src/pavucontrol.cc +++ b/src/pavucontrol.cc @@ -371,7 +371,7 @@ void context_state_callback(pa_context *c, void *userdata) { } pa_operation_unref(o); - // Keep track of the outstanding callbacks for UI tweaks + /* Keep track of the outstanding callbacks for UI tweaks */ n_outstanding = 0; if (!(o = pa_context_get_server_info(c, server_info_cb, w))) { -- cgit