evince/evince-gdk-drag-context.patch
mkasik 00279dad80 - Rename gdk_drag_context_get_action to
gdk_drag_context_get_selected_action
2010-06-21 13:30:08 +00:00

18 lines
878 B
Diff

--- evince-2.31.3/cut-n-paste/toolbar-editor/egg-editable-toolbar.c 2010-06-02 14:15:09.000000000 +0200
+++ evince-2.31.3/cut-n-paste/toolbar-editor/egg-editable-toolbar.c 2010-06-21 15:21:06.000000000 +0200
@@ -695,12 +695,12 @@ toolbar_drag_data_received_cb (GtkToolba
gint tpos = get_toolbar_position (etoolbar, GTK_WIDGET (toolbar));
egg_toolbars_model_add_item (etoolbar->priv->model, tpos, ipos, name);
gtk_drag_finish (context, TRUE,
- gdk_drag_context_get_action (context) == GDK_ACTION_MOVE, time);
+ gdk_drag_context_get_selected_action (context) == GDK_ACTION_MOVE, time);
}
else
{
gtk_drag_finish (context, FALSE,
- gdk_drag_context_get_action (context) == GDK_ACTION_MOVE, time);
+ gdk_drag_context_get_selected_action (context) == GDK_ACTION_MOVE, time);
}
}