[gnome-builder/editor-layout] attach highlight to view
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/editor-layout] attach highlight to view
- Date: Sun, 30 Nov 2014 06:04:27 +0000 (UTC)
commit a7b02b3bf07cff4affbbf845e0f6d8230759de48
Author: Christian Hergert <christian hergert me>
Date: Sat Nov 29 22:04:12 2014 -0800
attach highlight to view
src/editor/gb-editor-frame.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/editor/gb-editor-frame.c b/src/editor/gb-editor-frame.c
index 190051f..33916c5 100644
--- a/src/editor/gb-editor-frame.c
+++ b/src/editor/gb-editor-frame.c
@@ -665,6 +665,9 @@ gb_editor_frame_constructed (GObject *object)
g_object_new (GB_TYPE_SOURCE_SEARCH_HIGHLIGHTER,
"search-settings", priv->search_settings,
NULL);
+ g_object_set (priv->source_view,
+ "search-highlighter", priv->search_highlighter,
+ NULL);
g_object_bind_property (priv->search_revealer, "reveal-child",
priv->source_view, "show-shadow",
G_BINDING_SYNC_CREATE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]