[Xfce4-commits] <mousepad:master> Remove unused variable

Matthew Brush noreply at xfce.org
Sat May 5 21:32:12 CEST 2012


Updating branch refs/heads/master
         to e1d3efc8b2b7461ffbe7764eb185942b650a7931 (commit)
       from 3170a17667ed9b654cdc300bd370951bd7c71813 (commit)

commit e1d3efc8b2b7461ffbe7764eb185942b650a7931
Author: Matthew Brush <matt at xfce.org>
Date:   Fri May 4 21:00:51 2012 -0700

    Remove unused variable

 mousepad/mousepad-view.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/mousepad/mousepad-view.c b/mousepad/mousepad-view.c
index c72f649..a123241 100644
--- a/mousepad/mousepad-view.c
+++ b/mousepad/mousepad-view.c
@@ -854,7 +854,6 @@ mousepad_view_selection_timeout (gpointer user_data)
   MousepadView  *view = MOUSEPAD_VIEW (user_data);
   GtkTextView   *textview = GTK_TEXT_VIEW (view);
   gint           pointer_x, pointer_y;
-  gint           selection_start_x, selection_start_y;
   GtkTextBuffer *buffer;
   GtkTextIter    iter, cursor;
 
@@ -875,10 +874,6 @@ mousepad_view_selection_timeout (gpointer user_data)
       view->selection_end_x = pointer_x;
       view->selection_end_y = pointer_y;
 
-      /* backup start coordinates */
-      selection_start_x = view->selection_start_x;
-      selection_start_y = view->selection_start_y;
-
       /* get the text buffer */
       buffer = mousepad_view_get_buffer (view);
 


More information about the Xfce4-commits mailing list