diff options
author | David Zeuthen <davidz@redhat.com> | 2009-06-17 09:49:44 -0400 |
---|---|---|
committer | David Zeuthen <davidz@redhat.com> | 2009-06-17 09:50:35 -0400 |
commit | 4053577a19585c63e23e6c6e85011e2df9910745 (patch) | |
tree | 8c77e6ab423827a8623e7b55ad77ef362eb669af /common/gmountoperationdbus.c | |
parent | 8a72222d454bdf12e88402b2f012667e7c8e9754 (diff) | |
download | gvfs-4053577a19585c63e23e6c6e85011e2df9910745.tar.gz |
Bug 585591 – Starting/stopping drives
This is the GVfs implementation for the new GIO API for
starting/stopping drives. See
http://bugzilla.gnome.org/show_bug.cgi?id=585591
for details.
Diffstat (limited to 'common/gmountoperationdbus.c')
-rw-r--r-- | common/gmountoperationdbus.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/common/gmountoperationdbus.c b/common/gmountoperationdbus.c index 7700c073..b8ac4f7d 100644 --- a/common/gmountoperationdbus.c +++ b/common/gmountoperationdbus.c @@ -281,10 +281,8 @@ mount_op_ask_question (GMountOperationDBus *op_dbus, const char *message_string; char **choices; int num_choices; - dbus_bool_t handled = FALSE; DBusMessage *reply; DBusError error; - gboolean res; DBusMessageIter iter; reply = NULL; @@ -316,15 +314,7 @@ mount_op_ask_question (GMountOperationDBus *op_dbus, g_signal_emit_by_name (op_dbus->op, "ask_question", message_string, - choices, - &res); - if (!res) - { - _g_dbus_message_append_args (reply, - DBUS_TYPE_BOOLEAN, &handled, - 0); - mount_op_send_reply (op_dbus, reply); - } + choices); dbus_free_string_array (choices); } |