[gnumeric] GnmPane: kill warning.



commit c375b13ed2283799b0515f783832020df514f5db
Author: Morten Welinder <terra gnome org>
Date:   Sat Feb 2 14:25:19 2013 -0500

    GnmPane: kill warning.

 src/gnm-pane.c |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/src/gnm-pane.c b/src/gnm-pane.c
index 1d2cf32..b21a9aa 100644
--- a/src/gnm-pane.c
+++ b/src/gnm-pane.c
@@ -2503,7 +2503,6 @@ target_list_add_list (GtkTargetList *targets, GtkTargetList *added_targets)
 static void
 gnm_pane_drag_begin (GnmPane *pane, SheetObject *so, GdkEvent *event)
 {
-	GdkDragContext *context;
 	GtkTargetList *targets, *im_targets;
 	GocCanvas *canvas    = GOC_CANVAS (pane);
 	SheetControlGUI *scg = pane->simple.scg;
@@ -2551,9 +2550,9 @@ gnm_pane_drag_begin (GnmPane *pane, SheetObject *so, GdkEvent *event)
 		gtk_target_table_free (gte, n);
 	}
 
-	context = gtk_drag_begin (GTK_WIDGET (canvas), targets,
-				  GDK_ACTION_COPY | GDK_ACTION_MOVE,
-				  pane->drag.button, event);
+	gtk_drag_begin (GTK_WIDGET (canvas), targets,
+			GDK_ACTION_COPY | GDK_ACTION_MOVE,
+			pane->drag.button, event);
 	gtk_target_list_unref (targets);
 	g_slist_free (objects);
 }



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