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

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
This commit is contained in:
Matthias Clasen 2008-07-28 19:12:19 +00:00 committed by Matthias Clasen
parent b51d77011c
commit 855a4c1cca
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,11 @@
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

View 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"));