summaryrefslogtreecommitdiff
path: root/applets/notification_area
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-06-20 14:56:13 +0200
committerraveit65 <[email protected]>2020-07-05 21:10:53 +0200
commit34c561894bfedab242876fea249ab8596a61e8a4 (patch)
treeb7bc1bbca8ffeb4f36728426a82d97ec2feb3910 /applets/notification_area
parent75958f67ce255167ce09d8054efe25823c55cafd (diff)
downloadmate-panel-34c561894bfedab242876fea249ab8596a61e8a4.tar.bz2
mate-panel-34c561894bfedab242876fea249ab8596a61e8a4.tar.xz
Avoid using single-line cpp comments
Diffstat (limited to 'applets/notification_area')
-rw-r--r--applets/notification_area/main.c4
-rw-r--r--applets/notification_area/system-tray/fixedtip.c9
-rw-r--r--applets/notification_area/system-tray/na-tray-manager.c2
-rw-r--r--applets/notification_area/testtray.c2
4 files changed, 9 insertions, 8 deletions
diff --git a/applets/notification_area/main.c b/applets/notification_area/main.c
index 4fe5cd61..05962969 100644
--- a/applets/notification_area/main.c
+++ b/applets/notification_area/main.c
@@ -276,7 +276,7 @@ static void about_cb(GtkAction* action, NaTrayApplet* applet)
"program-name", _("Notification Area"),
"title", _("About Notification Area"),
"authors", authors,
- //"comments", _(comments),
+ /* "comments", _(comments), */
"copyright", _("Copyright \xc2\xa9 2002 Red Hat, Inc.\n"
"Copyright \xc2\xa9 2003-2006 Vincent Untz\n"
"Copyright \xc2\xa9 2011 Perberos\n"
@@ -320,7 +320,7 @@ na_tray_applet_realize (GtkWidget *widget)
setup_gsettings (applet);
- // load min icon size
+ /* load min icon size */
gsettings_changed_min_icon_size (applet->priv->settings, KEY_MIN_ICON_SIZE, applet);
applet->priv->builder = gtk_builder_new ();
diff --git a/applets/notification_area/system-tray/fixedtip.c b/applets/notification_area/system-tray/fixedtip.c
index f7b28d7b..180cbdd7 100644
--- a/applets/notification_area/system-tray/fixedtip.c
+++ b/applets/notification_area/system-tray/fixedtip.c
@@ -220,20 +220,21 @@ na_fixed_tip_new (GtkWidget *parent,
fixedtip->priv->parent = parent;
#if 0
- //FIXME: would be nice to be able to get the toplevel for the tip, but this
- //doesn't work
+ /* FIXME: would be nice to be able to get the toplevel for the tip, but this
+ * doesn't work
+ */
GtkWidget *toplevel;
toplevel = gtk_widget_get_toplevel (parent);
/*
if (toplevel && gtk_widget_is_toplevel (toplevel) && GTK_IS_WINDOW (toplevel))
gtk_window_set_transient_for (GTK_WINDOW (fixedtip), GTK_WINDOW (toplevel));
- */
+ */
#endif
fixedtip->priv->orientation = orientation;
- //FIXME: would be nice to move the tip when the notification area moves
+ /* FIXME: would be nice to move the tip when the notification area moves */
g_signal_connect_object (parent, "size-allocate",
G_CALLBACK (na_fixed_tip_parent_size_allocated),
fixedtip, 0);
diff --git a/applets/notification_area/system-tray/na-tray-manager.c b/applets/notification_area/system-tray/na-tray-manager.c
index 4e137b25..f001c653 100644
--- a/applets/notification_area/system-tray/na-tray-manager.c
+++ b/applets/notification_area/system-tray/na-tray-manager.c
@@ -518,7 +518,7 @@ na_tray_manager_window_filter (GdkXEvent *xev,
}
#if 0
-//FIXME investigate why this doesn't work
+/* FIXME investigate why this doesn't work */
static gboolean
na_tray_manager_selection_clear_event (GtkWidget *widget,
GdkEventSelection *event,
diff --git a/applets/notification_area/testtray.c b/applets/notification_area/testtray.c
index 6a83230d..b7d884f4 100644
--- a/applets/notification_area/testtray.c
+++ b/applets/notification_area/testtray.c
@@ -70,7 +70,7 @@ static void
tray_added_cb (GtkContainer *box, GtkWidget *icon, TrayData *data)
{
g_print ("[Screen %u tray %p] Child %p added to tray: \"%s\"\n",
- data->screen_num, data->traybox, icon, "XXX");//na_tray_child_get_title (icon));
+ data->screen_num, data->traybox, icon, "XXX"); /* na_tray_child_get_title (icon)); */
update_child_count (data);
}