X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=inline;f=cut-n-paste%2Ftoolbar-editor%2Fegg-editable-toolbar.c;h=9193120ad220288fda00cc5a1241373ef50b3240;hb=212d9a536bc60e711b779feb5e8aa33db654997d;hp=44f032267ae45ac218dfac23dfb53aeba7f84910;hpb=d2ecbc76da7d7c815b857d1aa87d2a4df76aabff;p=evince.git diff --git a/cut-n-paste/toolbar-editor/egg-editable-toolbar.c b/cut-n-paste/toolbar-editor/egg-editable-toolbar.c index 44f03226..9193120a 100644 --- a/cut-n-paste/toolbar-editor/egg-editable-toolbar.c +++ b/cut-n-paste/toolbar-editor/egg-editable-toolbar.c @@ -695,12 +695,12 @@ toolbar_drag_data_received_cb (GtkToolbar *toolbar, 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); } }