summaryrefslogtreecommitdiff
path: root/mate-panel/libmate-panel-applet-private/panel-applet-container.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/libmate-panel-applet-private/panel-applet-container.c
parent75958f67ce255167ce09d8054efe25823c55cafd (diff)
downloadmate-panel-34c561894bfedab242876fea249ab8596a61e8a4.tar.bz2
mate-panel-34c561894bfedab242876fea249ab8596a61e8a4.tar.xz
Avoid using single-line cpp comments
Diffstat (limited to 'mate-panel/libmate-panel-applet-private/panel-applet-container.c')
-rw-r--r--mate-panel/libmate-panel-applet-private/panel-applet-container.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/mate-panel/libmate-panel-applet-private/panel-applet-container.c b/mate-panel/libmate-panel-applet-private/panel-applet-container.c
index f6e0f94c..9354b999 100644
--- a/mate-panel/libmate-panel-applet-private/panel-applet-container.c
+++ b/mate-panel/libmate-panel-applet-private/panel-applet-container.c
@@ -118,7 +118,7 @@ panel_applet_container_setup (MatePanelAppletContainer *container)
gtk_widget_show (container->priv->socket);
} else
#endif
- { // Not using X11
+ { /* Not using X11 */
g_warning("%s requested out-of-process container, which is only supported on X11",
container->priv->iid);
}
@@ -295,7 +295,7 @@ mate_panel_applet_container_plug_removed (MatePanelAppletContainer *container)
*/
return FALSE;
}
-#endif // HAVE_X11
+#endif /* HAVE_X11 */
static void
mate_panel_applet_container_child_signal (GDBusProxy *proxy,
@@ -389,7 +389,7 @@ on_proxy_appeared (GObject *source_object,
panel_applet_container_setup (container);
#ifdef HAVE_X11
- // xid always <= 0 when not using X11
+ /* xid always <= 0 when not using X11 */
if (container->priv->xid > 0) {
gtk_socket_add_id (GTK_SOCKET (container->priv->socket),
container->priv->xid);
@@ -533,7 +533,7 @@ mate_panel_applet_container_get_applet (MatePanelAppletContainer *container,
screen_number = gdk_x11_screen_get_screen_number (screen);
} else
#endif
- { // Not using X11
+ { /* Not using X11 */
screen_number = 0;
}