From 855a4c1cca8a004eaf0b871c25da82d0ac00d4a9 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 28 Jul 2008 19:12:19 +0000 Subject: [PATCH] =?utf8?q?Bug=20545203=20=E2=80=93=20gfile.c:=20argument?= =?utf8?q?=20is=20different=20type.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- gio/ChangeLog | 8 ++++++++ gio/gfile.c | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) 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")); -- 2.7.4