[libgsf] Compilation: avoid C++ comments.



commit 22b899d798c281ccddbe59f09632ff70f3b08caf
Author: Morten Welinder <terra gnome org>
Date:   Thu Mar 7 11:15:24 2013 -0500

    Compilation: avoid C++ comments.

 gsf/gsf-infile-tar.c |    2 +-
 gsf/gsf-output.c     |    2 +-
 tools/gsf.c          |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gsf/gsf-infile-tar.c b/gsf/gsf-infile-tar.c
index 7e2f22e..817245e 100644
--- a/gsf/gsf-infile-tar.c
+++ b/gsf/gsf-infile-tar.c
@@ -379,7 +379,7 @@ gsf_infile_tar_child_by_index (GsfInfile *infile, int target, GError **err)
                                                               c->offset,
                                                               c->length);
                if (c->modtime) {
-                       // Copy
+                       /* Copy */
                        gsf_input_set_modtime (input,
                                               g_date_time_add (c->modtime, 0));
                }
diff --git a/gsf/gsf-output.c b/gsf/gsf-output.c
index 277284c..d82568e 100644
--- a/gsf/gsf-output.c
+++ b/gsf/gsf-output.c
@@ -63,7 +63,7 @@ gsf_output_set_property (GObject      *object,
        case PROP_MODTIME: {
                GDateTime *modtime = g_value_get_boxed (value);
                if (modtime)
-                       modtime = g_date_time_add (modtime, 0); // Copy
+                       modtime = g_date_time_add (modtime, 0); /* Copy */
                gsf_output_set_modtime (output, modtime);
                break;
        }
diff --git a/tools/gsf.c b/tools/gsf.c
index b8cccf7..6f75270 100644
--- a/tools/gsf.c
+++ b/tools/gsf.c
@@ -404,7 +404,7 @@ load_recursively (GsfOutfile *outfile, char const *path)
                break;
        }
        case G_FILE_TYPE_SYMBOLIC_LINK:
-               // do nothing
+               /* do nothing */
                break;
        default: {
                char *base;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]