diff options
author | rbuj <[email protected]> | 2020-06-20 14:56:13 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2020-07-05 21:10:53 +0200 |
commit | 34c561894bfedab242876fea249ab8596a61e8a4 (patch) | |
tree | b7bc1bbca8ffeb4f36728426a82d97ec2feb3910 /applets | |
parent | 75958f67ce255167ce09d8054efe25823c55cafd (diff) | |
download | mate-panel-34c561894bfedab242876fea249ab8596a61e8a4.tar.bz2 mate-panel-34c561894bfedab242876fea249ab8596a61e8a4.tar.xz |
Avoid using single-line cpp comments
Diffstat (limited to 'applets')
-rw-r--r-- | applets/clock/calendar-window.c | 4 | ||||
-rw-r--r-- | applets/clock/clock-location.c | 5 | ||||
-rw-r--r-- | applets/fish/fish.c | 2 | ||||
-rw-r--r-- | applets/notification_area/main.c | 4 | ||||
-rw-r--r-- | applets/notification_area/system-tray/fixedtip.c | 9 | ||||
-rw-r--r-- | applets/notification_area/system-tray/na-tray-manager.c | 2 | ||||
-rw-r--r-- | applets/notification_area/testtray.c | 2 |
7 files changed, 15 insertions, 13 deletions
diff --git a/applets/clock/calendar-window.c b/applets/clock/calendar-window.c index d47189d6..d69e0010 100644 --- a/applets/clock/calendar-window.c +++ b/applets/clock/calendar-window.c @@ -264,7 +264,7 @@ calendar_window_pack_locations (CalendarWindow *calwin, GtkWidget *vbox) gtk_widget_show (calwin->priv->locations_list); gtk_container_add (GTK_CONTAINER (vbox), calwin->priv->locations_list); - //gtk_box_pack_start (GTK_BOX (vbox), calwin->priv->locations_list, TRUE, FALSE, 0); + /* gtk_box_pack_start (GTK_BOX (vbox), calwin->priv->locations_list, TRUE, FALSE, 0); */ } static void @@ -524,7 +524,7 @@ calendar_window_set_invert_order (CalendarWindow *calwin, return; calwin->priv->invert_order = invert_order; - //FIXME: update the order of the content of the window + /* FIXME: update the order of the content of the window */ g_object_notify (G_OBJECT (calwin), "invert-order"); } diff --git a/applets/clock/clock-location.c b/applets/clock/clock-location.c index 22ef32be..4c48777f 100644 --- a/applets/clock/clock-location.c +++ b/applets/clock/clock-location.c @@ -685,8 +685,9 @@ update_weather_info (gpointer data) DISTANCE_UNIT_KM }; - // set temperature and speed units only if different from - // invalid/default + /* set temperature and speed units only if different from + * invalid/default + */ if (priv->temperature_unit > TEMP_UNIT_DEFAULT) prefs.temperature_unit = priv->temperature_unit; if (priv->speed_unit > SPEED_UNIT_DEFAULT) diff --git a/applets/fish/fish.c b/applets/fish/fish.c index bc3d06ac..afa8c429 100644 --- a/applets/fish/fish.c +++ b/applets/fish/fish.c @@ -565,7 +565,7 @@ static void display_about_dialog(GtkAction* action, FishApplet* fish) "documenters", documenters, "logo-icon-name", FISH_ICON, "translator-credits", _("translator-credits"), - "version", VERSION, // "3.4.7.4ac19" + "version", VERSION, /* "3.4.7.4ac19" */ "website", "http://mate-desktop.org/", NULL); 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); } |