[gnome-builder] tags: allow NULL cancellable
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] tags: allow NULL cancellable
- Date: Tue, 13 Oct 2015 07:10:38 +0000 (UTC)
commit 5c9a4e5c2f852a379edb1ceac1e8ffc65a00e396
Author: Christian Hergert <chergert redhat com>
Date: Mon Oct 12 22:18:24 2015 -0400
tags: allow NULL cancellable
libide/ide-tags-builder.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libide/ide-tags-builder.c b/libide/ide-tags-builder.c
index 98a5d62..d6d47a3 100644
--- a/libide/ide-tags-builder.c
+++ b/libide/ide-tags-builder.c
@@ -31,7 +31,7 @@ ide_tags_builder_build_async (IdeTagsBuilder *self,
{
g_return_if_fail (IDE_IS_TAGS_BUILDER (self));
g_return_if_fail (!directory_or_file || G_IS_FILE (directory_or_file));
- g_return_if_fail (G_IS_CANCELLABLE (cancellable));
+ g_return_if_fail (!cancellable || G_IS_CANCELLABLE (cancellable));
IDE_TAGS_BUILDER_GET_IFACE (self)->build_async (self, directory_or_file, recursive, cancellable, callback,
user_data);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]