summaryrefslogtreecommitdiff
path: root/mate-panel/button-widget.c
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 /mate-panel/button-widget.c
parent75958f67ce255167ce09d8054efe25823c55cafd (diff)
downloadmate-panel-34c561894bfedab242876fea249ab8596a61e8a4.tar.bz2
mate-panel-34c561894bfedab242876fea249ab8596a61e8a4.tar.xz
Avoid using single-line cpp comments
Diffstat (limited to 'mate-panel/button-widget.c')
-rw-r--r--mate-panel/button-widget.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mate-panel/button-widget.c b/mate-panel/button-widget.c
index 35427a0f..cb2a4104 100644
--- a/mate-panel/button-widget.c
+++ b/mate-panel/button-widget.c
@@ -180,7 +180,7 @@ button_widget_reload_surface (ButtonWidget *button)
(button->priv->orientation & PANEL_HORIZONTAL_MASK) ? button->priv->size * scale: -1,
&error);
if (error) {
- //FIXME: this is not rendered at button->priv->size
+ /* FIXME: this is not rendered at button->priv->size */
GtkIconTheme *icon_theme = gtk_icon_theme_get_default();
button->priv->surface = gtk_icon_theme_load_surface (icon_theme,
"image-missing",
@@ -317,7 +317,7 @@ calc_arrow (PanelOrientation orientation,
switch (orientation) {
case PANEL_ORIENTATION_TOP:
*x = (button_width - (*size)) / 2;
- *y = button_height * .99 - (*size) / (3/2); // 3/2 is the approximate ratio of GTK arrows
+ *y = button_height * .99 - (*size) / (3/2); /* 3/2 is the approximate ratio of GTK arrows */
*angle = G_PI;
retval = GTK_ARROW_DOWN;
break;
@@ -328,7 +328,7 @@ calc_arrow (PanelOrientation orientation,
retval = GTK_ARROW_UP;
break;
case PANEL_ORIENTATION_LEFT:
- *x = button_width * .99 - (*size) / (3/2); // 3/2 is the approximate ratio of GTK arrows
+ *x = button_width * .99 - (*size) / (3/2); /* 3/2 is the approximate ratio of GTK arrows */
*y = (button_height - (*size)) / 2;
*angle = G_PI / 2;
retval = GTK_ARROW_RIGHT;