From 526bbd88e309d455aa47798f4abd01ea66414be6 Mon Sep 17 00:00:00 2001 From: Evan Dandrea Date: Fri, 18 Sep 2009 17:46:47 -0400 Subject: [PATCH] =?utf8?q?Bug=2023541=20=E2=80=93=20PartitionTableCreate?= =?utf8?q?=20method=20times=20out?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit ... when 'none' is specified as a parameter. Signed-off-by: David Zeuthen --- src/devkit-disks-device.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/devkit-disks-device.c b/src/devkit-disks-device.c index b6e0c7d..c9e91e9 100644 --- a/src/devkit-disks-device.c +++ b/src/devkit-disks-device.c @@ -6605,8 +6605,8 @@ partition_table_create_device_changed_cb (DevkitDisksDaemon *daemon, device = devkit_disks_daemon_local_find_by_object_path (daemon, object_path); if (device == data->device) { - - if (g_strcmp0 (device->priv->partition_table_scheme, data->scheme) == 0) { + if (g_strcmp0 (device->priv->partition_table_scheme, data->scheme) == 0 || + (device->priv->partition_table_scheme == NULL && g_strcmp0 (data->scheme, "none") == 0)) { dbus_g_method_return (data->context); g_signal_handler_disconnect (daemon, data->device_changed_signal_handler_id); -- 2.7.4