summaryrefslogtreecommitdiff
path: root/applets/clock
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/clock
parent75958f67ce255167ce09d8054efe25823c55cafd (diff)
downloadmate-panel-34c561894bfedab242876fea249ab8596a61e8a4.tar.bz2
mate-panel-34c561894bfedab242876fea249ab8596a61e8a4.tar.xz
Avoid using single-line cpp comments
Diffstat (limited to 'applets/clock')
-rw-r--r--applets/clock/calendar-window.c4
-rw-r--r--applets/clock/clock-location.c5
2 files changed, 5 insertions, 4 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)