summaryrefslogtreecommitdiff
path: root/mate-panel/libpanel-util
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/libpanel-util
parent75958f67ce255167ce09d8054efe25823c55cafd (diff)
downloadmate-panel-34c561894bfedab242876fea249ab8596a61e8a4.tar.bz2
mate-panel-34c561894bfedab242876fea249ab8596a61e8a4.tar.xz
Avoid using single-line cpp comments
Diffstat (limited to 'mate-panel/libpanel-util')
-rw-r--r--mate-panel/libpanel-util/panel-icon-chooser.c5
-rw-r--r--mate-panel/libpanel-util/panel-keyfile.c4
-rw-r--r--mate-panel/libpanel-util/panel-launch.c6
3 files changed, 8 insertions, 7 deletions
diff --git a/mate-panel/libpanel-util/panel-icon-chooser.c b/mate-panel/libpanel-util/panel-icon-chooser.c
index 5c328db8..44d64908 100644
--- a/mate-panel/libpanel-util/panel-icon-chooser.c
+++ b/mate-panel/libpanel-util/panel-icon-chooser.c
@@ -429,8 +429,9 @@ _panel_icon_chooser_clicked (GtkButton *button)
if (!filechooser_path_set) {
char *path;
- // FIXME? Use current icon theme? But there might not be a lot
- // of icons there...
+ /* FIXME? Use current icon theme? But there might not be a lot
+ * of icons there...
+ */
path = g_build_filename (DATADIR, "icons", NULL);
gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER (filechooser),
path);
diff --git a/mate-panel/libpanel-util/panel-keyfile.c b/mate-panel/libpanel-util/panel-keyfile.c
index 181d1cff..e7745501 100644
--- a/mate-panel/libpanel-util/panel-keyfile.c
+++ b/mate-panel/libpanel-util/panel-keyfile.c
@@ -41,7 +41,7 @@ panel_key_file_new_desktop (void)
retval = g_key_file_new ();
- //FIXME? g_key_file_set_string (retval, G_KEY_FILE_DESKTOP_GROUP, "Name", _("No Name"));
+ /* FIXME? g_key_file_set_string (retval, G_KEY_FILE_DESKTOP_GROUP, "Name", _("No Name")); */
g_key_file_set_string (retval, G_KEY_FILE_DESKTOP_GROUP, "Version", "1.0");
return retval;
@@ -87,7 +87,7 @@ _panel_key_file_make_executable (const gchar *path)
g_object_unref (file);
}
-//FIXME: kill this when bug #309224 is fixed
+/* FIXME: kill this when bug #309224 is fixed */
gboolean
panel_key_file_to_file (GKeyFile *keyfile,
const gchar *file,
diff --git a/mate-panel/libpanel-util/panel-launch.c b/mate-panel/libpanel-util/panel-launch.c
index 66632dc9..7de0a02c 100644
--- a/mate-panel/libpanel-util/panel-launch.c
+++ b/mate-panel/libpanel-util/panel-launch.c
@@ -81,9 +81,9 @@ dummy_child_watch (GPid pid,
gpointer user_data)
{
/* Nothing, this is just to ensure we don't double fork
- * and break pkexec:
- * https://bugzilla.gnome.org/show_bug.cgi?id=675789
- */
+ * and break pkexec:
+ * https://bugzilla.gnome.org/show_bug.cgi?id=675789
+ */
}
static void