[gnome-builder] editor: cleanup long line



commit e53cd86d831c7e849c4d0b0a6efd379b1075eac8
Author: Christian Hergert <christian hergert me>
Date:   Tue Oct 14 13:14:20 2014 -0700

    editor: cleanup long line

 src/editor/gb-editor-tab.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/editor/gb-editor-tab.c b/src/editor/gb-editor-tab.c
index bfa5623..8d99776 100644
--- a/src/editor/gb-editor-tab.c
+++ b/src/editor/gb-editor-tab.c
@@ -73,10 +73,12 @@ gb_editor_tab_set_enable_word_completion (GbEditorTab *tab,
                                           gboolean     enable_word_completion)
 {
   GtkSourceCompletion *completion;
+  GtkSourceView *source_view;
 
   g_return_if_fail (GB_IS_EDITOR_TAB (tab));
 
-  completion = gtk_source_view_get_completion (GTK_SOURCE_VIEW (tab->priv->source_view));
+  source_view = GTK_SOURCE_VIEW (tab->priv->source_view);
+  completion = gtk_source_view_get_completion (source_view);
 
   if (enable_word_completion != tab->priv->enable_word_completion)
     {


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