[gnome-builder] libide: don't change the insert mark, now that it is correct



commit 2409c3407107fc5a6f6e8631871d5c2714842e55
Author: Christian Hergert <christian hergert me>
Date:   Thu Mar 12 21:38:53 2015 -0700

    libide: don't change the insert mark, now that it is correct

 tests/test-ide-source-view.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/tests/test-ide-source-view.c b/tests/test-ide-source-view.c
index 856e2d8..66867d8 100644
--- a/tests/test-ide-source-view.c
+++ b/tests/test-ide-source-view.c
@@ -215,7 +215,6 @@ idedit__bufmgr_load_file_cb (GObject      *object,
     {
       GtkSourceStyleScheme *scheme;
       GtkSourceStyleSchemeManager *schememgr;
-      GtkTextIter begin;
       const gchar *name = gDarkMode ? "builder-dark" : "builder";
 
       schememgr = gtk_source_style_scheme_manager_get_default ();
@@ -225,8 +224,6 @@ idedit__bufmgr_load_file_cb (GObject      *object,
       ide_buffer_set_highlight_diagnostics (buf, TRUE);
 
       gtk_widget_set_sensitive (view, TRUE);
-      gtk_text_buffer_get_start_iter (GTK_TEXT_BUFFER (buf), &begin);
-      gtk_text_buffer_select_range (GTK_TEXT_BUFFER (buf), &begin, &begin);
       gtk_widget_grab_focus (view);
     }
 }


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