[gnome-text-editor] searchbar: remove debug code



commit 1dace0a03ef0c24db02058f3fb9688b5f16564d3
Author: Christian Hergert <chergert redhat com>
Date:   Wed Jul 28 16:17:24 2021 -0700

    searchbar: remove debug code

 src/editor-search-bar.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
---
diff --git a/src/editor-search-bar.c b/src/editor-search-bar.c
index 12e88aa..3b6a3fe 100644
--- a/src/editor-search-bar.c
+++ b/src/editor-search-bar.c
@@ -681,10 +681,7 @@ _editor_search_bar_detach (EditorSearchBar *self)
       GtkWidget *page = gtk_widget_get_ancestor (GTK_WIDGET (self), EDITOR_TYPE_PAGE);
 
       if (self->jump_back_on_hide)
-        {
-          _editor_page_scroll_to_insert (EDITOR_PAGE (page));
-          g_print ("jumping back to old insert\n");
-        }
+        _editor_page_scroll_to_insert (EDITOR_PAGE (page));
 
       g_signal_handlers_disconnect_by_func (self->context,
                                             G_CALLBACK (editor_search_bar_notify_occurrences_count_cb),


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