summaryrefslogtreecommitdiff
path: root/capplets
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-02-24 11:46:54 +0100
committerLuke from DC <[email protected]>2021-02-26 19:59:59 +0000
commite1f9588ddc1cd2c0731e304da8cfbfca643aa191 (patch)
treeab2869bdf106b25588f6840a8ff85dbcb7d0561c /capplets
parent3fba7561c240de1b5c6d0386610cea4a29753bbb (diff)
downloadmate-control-center-e1f9588ddc1cd2c0731e304da8cfbfca643aa191.tar.bz2
mate-control-center-e1f9588ddc1cd2c0731e304da8cfbfca643aa191.tar.xz
Line comments // are not allowed (code style)
Diffstat (limited to 'capplets')
-rw-r--r--capplets/appearance/mate-wp-xml.c1
-rw-r--r--capplets/display/xrandr-capplet.c4
-rw-r--r--capplets/time-admin/src/time-map.c4
3 files changed, 4 insertions, 5 deletions
diff --git a/capplets/appearance/mate-wp-xml.c b/capplets/appearance/mate-wp-xml.c
index eb6c13bb..7401a9ad 100644
--- a/capplets/appearance/mate-wp-xml.c
+++ b/capplets/appearance/mate-wp-xml.c
@@ -476,7 +476,6 @@ void mate_wp_xml_save_list(AppearanceData* data)
xmlDoc* wplist;
xmlNode* root;
xmlNode* wallpaper;
- //xmlNode* item;
GSList* list = NULL;
g_hash_table_foreach(data->wp_hash, (GHFunc) mate_wp_list_flatten, &list);
diff --git a/capplets/display/xrandr-capplet.c b/capplets/display/xrandr-capplet.c
index a3ac5342..dea2614a 100644
--- a/capplets/display/xrandr-capplet.c
+++ b/capplets/display/xrandr-capplet.c
@@ -1152,7 +1152,7 @@ list_edges_for_output (MateRROutputInfo *output, GArray *edges)
int x, y, w, h;
mate_rr_output_info_get_geometry (output, &x, &y, &w, &h);
- get_geometry(output, &w, &h); // accounts for rotation
+ get_geometry (output, &w, &h); /* accounts for rotation */
/* Top, Bottom, Left, Right */
add_edge (output, x, y, x + w, y, edges);
@@ -1351,7 +1351,7 @@ static void
get_output_rect (MateRROutputInfo *output, GdkRectangle *rect)
{
mate_rr_output_info_get_geometry (output, &rect->x, &rect->y, &rect->width, &rect->height);
- get_geometry (output, &rect->width, &rect->height); // accounts for rotation
+ get_geometry (output, &rect->width, &rect->height); /* accounts for rotation */
}
static gboolean
diff --git a/capplets/time-admin/src/time-map.c b/capplets/time-admin/src/time-map.c
index 0f64a178..b59c9a44 100644
--- a/capplets/time-admin/src/time-map.c
+++ b/capplets/time-admin/src/time-map.c
@@ -57,8 +57,8 @@ static TimezoneMapOffset color_codes[] =
{-9.0, 128, 0, 0, 255 },
{-8.0, 170, 0, 0, 255 },
{-7.0, 212, 0, 0, 255 },
- {-6.0, 255, 0, 1, 255 }, // north
- {-6.0, 255, 0, 0, 255 }, // south
+ {-6.0, 255, 0, 1, 255 }, /* north */
+ {-6.0, 255, 0, 0, 255 }, /* south */
{-5.0, 255, 42, 42, 255 },
{-4.5, 192, 255, 0, 255 },
{-4.0, 255, 85, 85, 255 },