diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2012-07-10 15:14:43 -0400 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2012-07-11 19:59:52 -0400 |
commit | 17f987f6b983b5f87f1317f4fd70ce4387ac458d (patch) | |
tree | 5880d24874ed57a1abe01cd8e519b4ff5e6ffb6b /monitor | |
parent | 9aec339e36e4047c74a1ebea8afac372234dd9e2 (diff) | |
download | gvfs-17f987f6b983b5f87f1317f4fd70ce4387ac458d.tar.gz |
udisks2: simplify some code
https://bugzilla.gnome.org/show_bug.cgi?id=676111
Diffstat (limited to 'monitor')
-rw-r--r-- | monitor/udisks2/gvfsudisks2drive.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/monitor/udisks2/gvfsudisks2drive.c b/monitor/udisks2/gvfsudisks2drive.c index c57931dd..83173a28 100644 --- a/monitor/udisks2/gvfsudisks2drive.c +++ b/monitor/udisks2/gvfsudisks2drive.c @@ -589,13 +589,9 @@ eject_cb (GObject *source_object, { gvfs_udisks2_utils_udisks_error_to_gio_error (error); g_simple_async_result_take_error (data->simple, error); - g_simple_async_result_complete (data->simple); - goto out; } g_simple_async_result_complete (data->simple); - - out: eject_data_free (data); } |