From 34c561894bfedab242876fea249ab8596a61e8a4 Mon Sep 17 00:00:00 2001 From: rbuj Date: Sat, 20 Jun 2020 14:56:13 +0200 Subject: Avoid using single-line cpp comments --- applets/notification_area/main.c | 4 ++-- applets/notification_area/system-tray/fixedtip.c | 9 +++++---- applets/notification_area/system-tray/na-tray-manager.c | 2 +- applets/notification_area/testtray.c | 2 +- 4 files changed, 9 insertions(+), 8 deletions(-) (limited to 'applets/notification_area') 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); } -- cgit v1.2.1