mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-04 10:16:17 +01:00
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
This commit is contained in:
parent
87d23f18ec
commit
ea6cf346d6
@ -1,3 +1,8 @@
|
||||
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,
|
||||
|
Loading…
Reference in New Issue
Block a user