glib r7269 - trunk/gio



Author: matthiasc
Date: Mon Jul 28 19:12:19 2008
New Revision: 7269
URL: http://svn.gnome.org/viewvc/glib?rev=7269&view=rev

Log:
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



Modified:
   trunk/gio/ChangeLog
   trunk/gio/gfile.c

Modified: trunk/gio/gfile.c
==============================================================================
--- trunk/gio/gfile.c	(original)
+++ trunk/gio/gfile.c	Mon Jul 28 19:12:19 2008
@@ -4201,7 +4201,7 @@
 
   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"));
 



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