[gtk+/multiroot-filechooser] Don't use C++ style comments
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/multiroot-filechooser] Don't use C++ style comments
- Date: Thu, 24 Jun 2010 21:09:36 +0000 (UTC)
commit b71f7560714aeef20eb5f0c0644dfd743a23533e
Author: Federico Mena Quintero <federico novell com>
Date: Fri Jun 18 15:46:22 2010 -0500
Don't use C++ style comments
We like it here in the 1990s, thank you very much.
Signed-off-by: Federico Mena Quintero <federico novell com>
gtk/gtkfilechooser.c | 4 ++--
gtk/gtkfilechooserbutton.c | 2 +-
gtk/gtkfilechooserdefault.c | 4 ++--
gtk/gtkfilechooserentry.c | 2 +-
gtk/gtkpathbar.c | 4 ++--
5 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/gtk/gtkfilechooser.c b/gtk/gtkfilechooser.c
index 841ceb6..d51534a 100644
--- a/gtk/gtkfilechooser.c
+++ b/gtk/gtkfilechooser.c
@@ -2991,7 +2991,7 @@ _gtk_file_chooser_get_visible_roots (GtkFileChooser *chooser)
{
if (_gtk_file_chooser_is_file_in_roots (GTK_FILE_CHOOSER (chooser), fs_root))
{
- // This is going to be listed already. Ignore it for now.
+ /* This is going to be listed already. Ignore it for now. */
skip = TRUE;
}
@@ -3015,4 +3015,4 @@ _gtk_file_chooser_get_visible_roots (GtkFileChooser *chooser)
#define __GTK_FILE_CHOOSER_C__
#include "gtkaliasdef.c"
-// vim: et sw=2 cinoptions=(0,t0,f1s,n-1s,{1s,>2s,^-1s
+/* vim: et sw=2 cinoptions=(0,t0,f1s,n-1s,{1s,>2s,^-1s */
diff --git a/gtk/gtkfilechooserbutton.c b/gtk/gtkfilechooserbutton.c
index b74ecb8..af48108 100644
--- a/gtk/gtkfilechooserbutton.c
+++ b/gtk/gtkfilechooserbutton.c
@@ -3088,4 +3088,4 @@ gtk_file_chooser_button_get_focus_on_click (GtkFileChooserButton *button)
#define __GTK_FILE_CHOOSER_BUTTON_C__
#include "gtkaliasdef.c"
-// vim: et sw=2 cinoptions=(0,t0,f1s,n-1s,{1s,>2s,^-1s
+/* vim: et sw=2 cinoptions=(0,t0,f1s,n-1s,{1s,>2s,^-1s */
diff --git a/gtk/gtkfilechooserdefault.c b/gtk/gtkfilechooserdefault.c
index 902baf4..c0ba796 100644
--- a/gtk/gtkfilechooserdefault.c
+++ b/gtk/gtkfilechooserdefault.c
@@ -9677,7 +9677,7 @@ recent_idle_load (gpointer data)
if (_gtk_file_chooser_is_uri_in_roots (GTK_FILE_CHOOSER (impl), uri))
{
- // We'll sort this later, so prepend for efficiency.
+ /* We'll sort this later, so prepend for efficiency. */
load_data->items = g_list_prepend(load_data->items, info);
}
}
@@ -10725,4 +10725,4 @@ shortcuts_pane_model_filter_new (GtkFileChooserDefault *impl,
return GTK_TREE_MODEL (model);
}
-// vim: et sw=2 cinoptions=(0,t0,f1s,n-1s,{1s,>2s,^-1s
+/* vim: et sw=2 cinoptions=(0,t0,f1s,n-1s,{1s,>2s,^-1s */
diff --git a/gtk/gtkfilechooserentry.c b/gtk/gtkfilechooserentry.c
index 553c6bb..06f3aee 100644
--- a/gtk/gtkfilechooserentry.c
+++ b/gtk/gtkfilechooserentry.c
@@ -2036,4 +2036,4 @@ _gtk_file_chooser_entry_get_root_uris (GtkFileChooserEntry *chooser_entry)
return chooser_entry->root_uris;
}
-// vim: et sw=2 cinoptions=(0,t0,f1s,n-1s,{1s,>2s,^-1s
+/* vim: et sw=2 cinoptions=(0,t0,f1s,n-1s,{1s,>2s,^-1s */
diff --git a/gtk/gtkpathbar.c b/gtk/gtkpathbar.c
index 6539d22..0024073 100644
--- a/gtk/gtkpathbar.c
+++ b/gtk/gtkpathbar.c
@@ -1871,7 +1871,7 @@ _gtk_path_bar_set_root_uris (GtkPathBar *path_bar,
*/
gtk_path_bar_clear_buttons (path_bar);
- // Also clear the root icon, as we'll be using this for the root URI button.
+ /* Also clear the root icon, as we'll be using this for the root URI button. */
if (path_bar->root_icon)
{
g_object_unref (path_bar->root_icon);
@@ -1936,4 +1936,4 @@ _gtk_path_bar_down (GtkPathBar *path_bar)
#define __GTK_PATH_BAR_C__
#include "gtkaliasdef.c"
-// vim: et sw=2 cinoptions=(0,t0,f1s,n-1s,{1s,>2s,^-1s
+/* vim: et sw=2 cinoptions=(0,t0,f1s,n-1s,{1s,>2s,^-1s */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]