Bug 545203 – gfile.c: argument is different type.
authorMatthias Clasen <mclasen@redhat.com>
Mon, 28 Jul 2008 19:12:19 +0000 (19:12 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Mon, 28 Jul 2008 19:12:19 +0000 (19:12 +0000)
2008-07-28  Matthias Clasen  <mclasen@redhat.com>

        Bug 545203 – gfile.c: argument is different type.

        * gfile.c (open_read_async_thread): Pass a GError **
        to g_file_set_error_literal.
        Reported by Kazuki Iwamoto

svn path=/trunk/; revision=7269

gio/ChangeLog
gio/gfile.c

index 0423ce0..36d786e 100644 (file)
@@ -1,5 +1,13 @@
 2008-07-28  Matthias Clasen  <mclasen@redhat.com>
 
+       Bug 545203 – gfile.c: argument is different type.
+
+       * gfile.c (open_read_async_thread): Pass a GError **
+       to g_file_set_error_literal.
+       Reported by Kazuki Iwamoto
+
+2008-07-28  Matthias Clasen  <mclasen@redhat.com>
+
        Bug 545157 – wrong/no list of "open with" applications for .cc and
        .cpp files
 
index 25f99e3..15d821b 100644 (file)
@@ -4201,7 +4201,7 @@ open_read_async_thread (GSimpleAsyncResult *res,
 
   if (iface->read_fn == NULL)
     {
-      g_set_error_literal (error, G_IO_ERROR,
+      g_set_error_literal (&error, G_IO_ERROR,
                            G_IO_ERROR_NOT_SUPPORTED,
                            _("Operation not supported"));