[gnome-builder] view: remove unused var



commit 654e70dca0cdda86c713e346eb20121a9ed46fee
Author: Sebastien Lafargue <slafargue gnome org>
Date:   Thu Nov 19 21:30:11 2015 +0100

    view: remove unused var

 libide/ide-source-view-movements.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/libide/ide-source-view-movements.c b/libide/ide-source-view-movements.c
index 3b3a642..fa1e736 100644
--- a/libide/ide-source-view-movements.c
+++ b/libide/ide-source-view-movements.c
@@ -687,7 +687,6 @@ ide_source_view_movements_scroll_by_chars (Movement *mv,
 {
   GtkTextView *text_view = (GtkTextView *)mv->self;
   GtkAdjustment *hadj;
-  GtkTextBuffer *buffer;
   GdkRectangle rect;
   gdouble amount;
   gdouble value;
@@ -699,7 +698,6 @@ ide_source_view_movements_scroll_by_chars (Movement *mv,
     return;
 
   hadj = gtk_scrollable_get_hadjustment (GTK_SCROLLABLE (mv->self));
-  buffer = gtk_text_view_get_buffer (text_view);
 
   gtk_text_view_get_iter_location (text_view, &mv->insert, &rect);
 
@@ -783,7 +781,6 @@ ide_source_view_movements_scroll (Movement *mv)
       mv->type == IDE_SOURCE_VIEW_MOVEMENT_SCREEN_LEFT)
     count = -count;
 
-  g_printf ("count:%i\n", count);
   if (mv->type == IDE_SOURCE_VIEW_MOVEMENT_SCREEN_DOWN ||
       mv->type == IDE_SOURCE_VIEW_MOVEMENT_SCREEN_UP)
     {
@@ -1638,8 +1635,6 @@ ide_source_view_movements_scroll_center (Movement *mv)
       break;
     }
 
-  g_printf ("str:'%s'\n", mv->command_str->str);
-
   if (g_str_has_suffix (mv->command_str->str, "-") ||
       g_str_has_suffix (mv->command_str->str, ".") ||
       g_str_has_suffix (mv->command_str->str, "[Return]") ||


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