[gnome-builder] cleanup



commit 9b6b07bc7776b6e558225b8fff497a9861530444
Author: Christian Hergert <christian hergert me>
Date:   Thu Mar 19 21:42:42 2015 -0700

    cleanup

 src/editor/gb-editor-frame.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/editor/gb-editor-frame.c b/src/editor/gb-editor-frame.c
index bced453..9d05d87 100644
--- a/src/editor/gb-editor-frame.c
+++ b/src/editor/gb-editor-frame.c
@@ -47,8 +47,6 @@ gb_editor_frame_set_position_label (GbEditorFrame *self,
 {
   g_return_if_fail (GB_IS_EDITOR_FRAME (self));
 
-  g_print (">>>> update position label\n");
-
   if (!text || !*text)
     {
       if (self->search_entry_tag)
@@ -118,7 +116,8 @@ gb_editor_frame_on_search_occurrences_notify (GbEditorFrame          *self,
                                               GParamSpec             *pspec,
                                               GtkSourceSearchContext *search_context)
 {
-  g_print ("SEARCH NOTIFY\n");
+  g_assert (GB_IS_EDITOR_FRAME (self));
+  g_assert (GTK_SOURCE_IS_SEARCH_CONTEXT (search_context));
 
   gb_editor_frame_update_search_position_label (self);
 }


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