[gnome-builder] autotools: add additional type check
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] autotools: add additional type check
- Date: Tue, 15 Sep 2015 03:06:11 +0000 (UTC)
commit 1322e0914f2292e23914bb722af3eb4c113c74bf
Author: Christian Hergert <christian hergert me>
Date: Mon Sep 14 20:06:03 2015 -0700
autotools: add additional type check
plugins/autotools/ide-makecache.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/plugins/autotools/ide-makecache.c b/plugins/autotools/ide-makecache.c
index 259e486..623ed71 100644
--- a/plugins/autotools/ide-makecache.c
+++ b/plugins/autotools/ide-makecache.c
@@ -865,6 +865,7 @@ ide_makecache_get_file_flags_worker (GTask *task,
IDE_ENTRY;
g_assert (EGG_IS_TASK_CACHE (source_object));
+ g_assert (!cancellable || G_IS_CANCELLABLE (cancellable));
g_assert (G_IS_TASK (task));
g_assert (lookup != NULL);
g_assert (lookup->relative_path != NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]