summaryrefslogtreecommitdiff
path: root/capplets/display
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/display
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/display')
-rw-r--r--capplets/display/xrandr-capplet.c4
1 files changed, 2 insertions, 2 deletions
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