[gnome-text-editor] searchbar: keep regex text synchronized
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-text-editor] searchbar: keep regex text synchronized
- Date: Wed, 5 Jan 2022 19:12:30 +0000 (UTC)
commit b65009586f512701a7dd26b5d0d8f0e9fb16ea5d
Author: Christian Hergert <chergert redhat com>
Date: Wed Jan 5 11:09:11 2022 -0800
searchbar: keep regex text synchronized
Just a typo from a long time ago, showing it's head now.
src/editor-search-bar.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/editor-search-bar.c b/src/editor-search-bar.c
index afdd099..dfdb34b 100644
--- a/src/editor-search-bar.c
+++ b/src/editor-search-bar.c
@@ -223,7 +223,7 @@ text_to_search_text (GBinding *binding,
const gchar *str = g_value_get_string (from_value);
if (!str || gtk_source_search_settings_get_regex_enabled (self->settings))
- g_value_set_string (to_value, NULL);
+ g_value_set_string (to_value, str);
else
g_value_take_string (to_value, gtk_source_utils_unescape_search_text (str));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]