[gvfs] udisks2: simplify some code
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs] udisks2: simplify some code
- Date: Thu, 12 Jul 2012 00:00:41 +0000 (UTC)
commit 17f987f6b983b5f87f1317f4fd70ce4387ac458d
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Tue Jul 10 15:14:43 2012 -0400
udisks2: simplify some code
https://bugzilla.gnome.org/show_bug.cgi?id=676111
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 c57931d..83173a2 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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]