Avoid call to gdk_display_get_core_pointer which is gone in Gtk3
authorJohn Darrington <john@darrington.wattle.id.au>
Tue, 28 May 2013 07:21:55 +0000 (09:21 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Wed, 29 May 2013 04:58:10 +0000 (06:58 +0200)
src/ui/gui/pspp-sheet-view.c

index d83665acf20c1583325dc045d3664ccf0db9c489..8cdb82f024200dbc6965fc93996f73a7bae0cb65 100644 (file)
@@ -7729,7 +7729,9 @@ _pspp_sheet_view_column_start_drag (PsppSheetView       *tree_view,
   send_event->button.axes = NULL;
   send_event->button.state = 0;
   send_event->button.button = 1;
-  send_event->button.device = gdk_display_get_core_pointer (display);
+  send_event->button.device = 
+    gdk_device_manager_get_client_pointer (gdk_display_get_device_manager (display));
+
   send_event->button.x_root = 0;
   send_event->button.y_root = 0;