fix attributes argument of query_info methods to be "const char *".
authorAlexander Larsson <alexl@redhat.com>
Tue, 17 Mar 2009 11:21:37 +0000 (11:21 +0000)
committerAlexander Larsson <alexl@src.gnome.org>
Tue, 17 Mar 2009 11:21:37 +0000 (11:21 +0000)
2009-03-17  Alexander Larsson  <alexl@redhat.com>

        * glocalfileinputstream.c:
        * glocalfileoutputstream.c:
fix attributes argument of query_info methods to
be "const char *".

svn path=/trunk/; revision=8000

gio/ChangeLog
gio/glocalfileinputstream.c
gio/glocalfileoutputstream.c

index 8f73481..76a873c 100644 (file)
@@ -1,3 +1,10 @@
+2009-03-17  Alexander Larsson  <alexl@redhat.com>
+
+        * glocalfileinputstream.c:
+        * glocalfileoutputstream.c:
+       fix attributes argument of query_info methods to
+       be "const char *".
+
 2009-03-16  Alexander Larsson  <alexl@redhat.com>
 
        Bug 575555 – Use fsync() when replacing files to avoid data loss on crash
index cedbc46..a8d0104 100644 (file)
@@ -71,7 +71,7 @@ static gboolean   g_local_file_input_stream_seek       (GFileInputStream  *strea
                                                        GCancellable      *cancellable,
                                                        GError           **error);
 static GFileInfo *g_local_file_input_stream_query_info (GFileInputStream  *stream,
-                                                       char              *attributes,
+                                                       const char        *attributes,
                                                        GCancellable      *cancellable,
                                                        GError           **error);
 
@@ -319,7 +319,7 @@ g_local_file_input_stream_seek (GFileInputStream  *stream,
 
 static GFileInfo *
 g_local_file_input_stream_query_info (GFileInputStream  *stream,
-                                     char              *attributes,
+                                     const char        *attributes,
                                      GCancellable      *cancellable,
                                      GError           **error)
 {
index bd216df..7c73da4 100644 (file)
@@ -82,7 +82,7 @@ static gboolean   g_local_file_output_stream_close        (GOutputStream      *s
                                                           GCancellable       *cancellable,
                                                           GError            **error);
 static GFileInfo *g_local_file_output_stream_query_info   (GFileOutputStream  *stream,
-                                                          char               *attributes,
+                                                          const char         *attributes,
                                                           GCancellable       *cancellable,
                                                           GError            **error);
 static char *     g_local_file_output_stream_get_etag     (GFileOutputStream  *stream);
@@ -474,7 +474,7 @@ g_local_file_output_stream_truncate (GFileOutputStream  *stream,
 
 static GFileInfo *
 g_local_file_output_stream_query_info (GFileOutputStream  *stream,
-                                      char               *attributes,
+                                      const char         *attributes,
                                       GCancellable       *cancellable,
                                       GError            **error)
 {