PsppSheetView: Temporarily avoid drag begin
authorJohn Darrington <john@darrington.wattle.id.au>
Mon, 27 May 2013 14:59:57 +0000 (16:59 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Tue, 28 May 2013 14:04:37 +0000 (16:04 +0200)
src/ui/gui/pspp-sheet-view.c

index a2525bd2f2b52f27c9aa62f9085770cdd39e0950..ae5a179b5c87b83c5546548fa98e24ecb912caf6 100644 (file)
@@ -6142,10 +6142,12 @@ pspp_sheet_view_maybe_begin_dragging_row (PsppSheetView      *tree_view,
 }
 
 
+
 static void
 pspp_sheet_view_drag_begin (GtkWidget      *widget,
                           GdkDragContext *context)
 {
+#if GTK3_TRANSITION
   PsppSheetView *tree_view;
   GtkTreePath *path = NULL;
   gint cell_x, cell_y;
@@ -6183,8 +6185,10 @@ pspp_sheet_view_drag_begin (GtkWidget      *widget,
 
   g_object_unref (row_pix);
   gtk_tree_path_free (path);
+#endif
 }
 
+
 static void
 pspp_sheet_view_drag_end (GtkWidget      *widget,
                         GdkDragContext *context)