[gnome-builder] devhelp search: follow up fixes
- From: Sébastien Lafargue <slafargue src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] devhelp search: follow up fixes
- Date: Thu, 25 May 2017 08:03:47 +0000 (UTC)
commit 8dd11912dbdefc4902fd0f291973d6b2af68f21c
Author: Sebastien Lafargue <slafargue gnome org>
Date: Thu May 25 10:03:21 2017 +0200
devhelp search: follow up fixes
plugins/devhelp/gbp-devhelp-search.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/plugins/devhelp/gbp-devhelp-search.c b/plugins/devhelp/gbp-devhelp-search.c
index 5d5e16d..c0a1e4f 100644
--- a/plugins/devhelp/gbp-devhelp-search.c
+++ b/plugins/devhelp/gbp-devhelp-search.c
@@ -61,11 +61,11 @@ search_text_changed_cb (GdTaggedEntry *search_entry,
search_text = gtk_entry_get_text (GTK_ENTRY (self->search_entry));
webkit_find_controller_search (self->web_controller,
- search_text,
- WEBKIT_FIND_OPTIONS_BACKWARDS
- | WEBKIT_FIND_OPTIONS_WRAP_AROUND
- | WEBKIT_FIND_OPTIONS_CASE_INSENSITIVE,
- MAX_SEARCH);
+ search_text,
+ WEBKIT_FIND_OPTIONS_BACKWARDS |
+ WEBKIT_FIND_OPTIONS_WRAP_AROUND |
+ WEBKIT_FIND_OPTIONS_CASE_INSENSITIVE,
+ MAX_SEARCH);
}
static void
@@ -122,7 +122,7 @@ gbp_devhelp_search_set_devhelp (GbpDevhelpSearch *self,
WebKitFindController *web_controller,
GtkClipboard *clipboard)
{
- g_assert (GBP_IS_DEVHELP_SEARCH (self));
+ g_return_if_fail (GBP_IS_DEVHELP_SEARCH (self));
self->clipboard = clipboard;
self->web_controller = web_controller;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]