From: Matthias Clasen Date: Mon, 28 Jul 2008 19:12:19 +0000 (+0000) Subject: Bug 545203 – gfile.c: argument is different type. X-Git-Tag: GLIB_2_17_5~28 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=855a4c1cca8a004eaf0b871c25da82d0ac00d4a9;p=platform%2Fupstream%2Fglib.git Bug 545203 – gfile.c: argument is different type. 2008-07-28 Matthias Clasen 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 --- diff --git a/gio/ChangeLog b/gio/ChangeLog index 0423ce0..36d786e 100644 --- a/gio/ChangeLog +++ b/gio/ChangeLog @@ -1,5 +1,13 @@ 2008-07-28 Matthias Clasen + 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 + Bug 545157 – wrong/no list of "open with" applications for .cc and .cpp files diff --git a/gio/gfile.c b/gio/gfile.c index 25f99e3..15d821b 100644 --- a/gio/gfile.c +++ b/gio/gfile.c @@ -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"));