[gnome-builder] use overriden gproperty from idesourceview



commit 7c08deafaa6ef771a7dfa99439921507c6be32bc
Author: Christian Hergert <christian hergert me>
Date:   Thu Mar 19 13:14:14 2015 -0700

    use overriden gproperty from idesourceview

 src/editor/gb-editor-view-actions.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/editor/gb-editor-view-actions.c b/src/editor/gb-editor-view-actions.c
index db9f7b6..7d05319 100644
--- a/src/editor/gb-editor-view-actions.c
+++ b/src/editor/gb-editor-view-actions.c
@@ -61,7 +61,7 @@ gb_editor_view_actions_source_view_notify (IdeSourceView *source_view,
       gboolean highlight_current_line;
 
       action = g_action_map_lookup_action (actions, "highlight-current-line");
-      highlight_current_line = gtk_source_view_get_highlight_current_line (gsv);
+      g_object_get (gsv, "highlight-current-line", &highlight_current_line, NULL);
       param = g_variant_new_boolean (highlight_current_line);
     }
   else if (g_str_equal (pspec->name, "auto-indent"))


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]