[gnome-builder] devices: use correct type when checking async result
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] devices: use correct type when checking async result
- Date: Tue, 13 Mar 2018 23:00:51 +0000 (UTC)
commit 2f5591dc44ccd1c167d389d2bb2c8dafc32447ec
Author: Christian Hergert <chergert redhat com>
Date: Tue Mar 13 15:59:48 2018 -0700
devices: use correct type when checking async result
src/libide/devices/ide-device-provider.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/libide/devices/ide-device-provider.c b/src/libide/devices/ide-device-provider.c
index 7796fb42b..b85f80a62 100644
--- a/src/libide/devices/ide-device-provider.c
+++ b/src/libide/devices/ide-device-provider.c
@@ -260,7 +260,7 @@ ide_device_provider_load_finish (IdeDeviceProvider *self,
GError **error)
{
g_return_val_if_fail (IDE_IS_DEVICE_PROVIDER (self), FALSE);
- g_return_val_if_fail (G_IS_TASK (result), FALSE);
+ g_return_val_if_fail (G_IS_ASYNC_RESULT (result), FALSE);
return IDE_DEVICE_PROVIDER_GET_CLASS (self)->load_finish (self, result, error);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]