GitLab repository storage has been migrated to hashed layout. Please contact Infrastructure team if you notice any issues with repositories or hooks.

Commit ea6cf346 authored by Benjamin Otte's avatar Benjamin Otte Committed by Benjamin Otte

return from function in error path.

2008-02-20  Benjamin Otte  <otte@gnome.org>

        * gfile.c: (g_file_mount_mountable):
	return from function in error path.

svn path=/trunk/; revision=6544
parent 87d23f18
2008-02-20 Benjamin Otte <otte@gnome.org>
* gfile.c: (g_file_mount_mountable):
return from function in error path.
2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
* gfile.h:
......
......@@ -3308,13 +3308,15 @@ g_file_mount_mountable (GFile *file,
iface = G_FILE_GET_IFACE (file);
if (iface->mount_mountable == NULL)
if (iface->mount_mountable == NULL) {
g_simple_async_report_error_in_idle (G_OBJECT (file),
callback,
user_data,
G_IO_ERROR,
G_IO_ERROR_NOT_SUPPORTED,
_("Operation not supported"));
return;
}
(* iface->mount_mountable) (file,
flags,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment