summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorColin Guthrie <cguthrie@mandriva.org>2009-03-18 21:01:03 +0000
committerColin Guthrie <cguthrie@mandriva.org>2009-03-18 21:01:03 +0000
commitc4208bfd8ed9570116ea00c76a7b78b6f20e00b7 (patch)
tree75e7fc8a96fddb9d9c92f9b7cf08fbdf3f1dde39 /src
parentc6b73de3084f7996e5060872662de12e3ebbd544 (diff)
Use C style comments as per Lennart's fetish :p
Diffstat (limited to 'src')
-rw-r--r--src/cardwidget.cc2
-rw-r--r--src/cardwidget.h3
-rw-r--r--src/mainwindow.cc1
-rw-r--r--src/pavucontrol.cc2
4 files changed, 3 insertions, 5 deletions
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<Glib::ustring, Glib::ustring>::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<Gtk::ListStore> 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<Glib::ustring,Glib::ustring>(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))) {