summaryrefslogtreecommitdiff
path: root/mate-panel/libmate-panel-applet-private
diff options
context:
space:
mode:
Diffstat (limited to 'mate-panel/libmate-panel-applet-private')
-rw-r--r--mate-panel/libmate-panel-applet-private/panel-applet-container.c8
-rw-r--r--mate-panel/libmate-panel-applet-private/panel-applets-manager-dbus.c2
2 files changed, 5 insertions, 5 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;
}
diff --git a/mate-panel/libmate-panel-applet-private/panel-applets-manager-dbus.c b/mate-panel/libmate-panel-applet-private/panel-applets-manager-dbus.c
index 82c1e918..4ee9296b 100644
--- a/mate-panel/libmate-panel-applet-private/panel-applets-manager-dbus.c
+++ b/mate-panel/libmate-panel-applet-private/panel-applets-manager-dbus.c
@@ -118,7 +118,7 @@ _mate_panel_applets_manager_get_applet_info (GKeyFile *applet_file,
supported_platforms = g_key_file_get_string_list (applet_file, group,
"Platforms", NULL, NULL);
if (supported_platforms == NULL) {
- // If supported platforms are not specified, assume all are supported
+ /* If supported platforms are not specified, assume all are supported */
x11_supported = TRUE;
wayland_supported = TRUE;
} else {