From: John Darrington <john@darrington.wattle.id.au>
Date: Mon, 27 May 2013 14:59:57 +0000 (+0200)
Subject: PsppSheetView: Temporarily avoid drag begin
X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a2a6ca0624eab7af45150086b4653aff61daf1eb;p=pspp

PsppSheetView: Temporarily avoid drag begin
---

diff --git a/src/ui/gui/pspp-sheet-view.c b/src/ui/gui/pspp-sheet-view.c
index a2525bd2f2..ae5a179b5c 100644
--- a/src/ui/gui/pspp-sheet-view.c
+++ b/src/ui/gui/pspp-sheet-view.c
@@ -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)