[gtksourceview/wip/search: 33/36] Use G_SOURCE_CONTINUE and G_SOURCE_REMOVE
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview/wip/search: 33/36] Use G_SOURCE_CONTINUE and G_SOURCE_REMOVE
- Date: Sat, 6 Jul 2013 15:59:30 +0000 (UTC)
commit cf5c1e19fa04f61941cbead43ec19ad9a3cbe41d
Author: Sébastien Wilmet <swilmet gnome org>
Date: Fri Jul 5 13:13:20 2013 +0200
Use G_SOURCE_CONTINUE and G_SOURCE_REMOVE
gtksourceview/gtksourcesearch.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gtksourceview/gtksourcesearch.c b/gtksourceview/gtksourcesearch.c
index ccb1dfe..f06f62e 100644
--- a/gtksourceview/gtksourcesearch.c
+++ b/gtksourceview/gtksourcesearch.c
@@ -1182,13 +1182,13 @@ idle_scan_cb (GtkSourceSearch *search)
gtk_text_region_destroy (search->priv->high_priority_region, TRUE);
search->priv->high_priority_region = NULL;
- return TRUE;
+ return G_SOURCE_CONTINUE;
}
if (search->priv->task_region != NULL)
{
scan_task_region (search);
- return TRUE;
+ return G_SOURCE_CONTINUE;
}
scan_region_forward (search, search->priv->scan_region);
@@ -1205,10 +1205,10 @@ idle_scan_cb (GtkSourceSearch *search)
search->priv->scan_region = NULL;
}
- return FALSE;
+ return G_SOURCE_REMOVE;
}
- return TRUE;
+ return G_SOURCE_CONTINUE;
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]