summaryrefslogtreecommitdiff
path: root/cut-n-paste
diff options
context:
space:
mode:
authorElias Aebi <[email protected]>2013-04-21 12:57:07 +0200
committerElias Aebi <[email protected]>2013-04-21 12:57:07 +0200
commita6b92010adfac205341cf0579b5b102a520f798e (patch)
tree2aa61d9fd4dcac349d612c13b4de92ce34928469 /cut-n-paste
parent91edeb1d2c224fe3e04fd534534388229320eb13 (diff)
downloadeom-a6b92010adfac205341cf0579b5b102a520f798e.tar.bz2
eom-a6b92010adfac205341cf0579b5b102a520f798e.tar.xz
replace direct struct access with accessor functions in order to make it build with GSEAL_ENABLE
Diffstat (limited to 'cut-n-paste')
-rw-r--r--cut-n-paste/toolbar-editor/egg-editable-toolbar.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cut-n-paste/toolbar-editor/egg-editable-toolbar.c b/cut-n-paste/toolbar-editor/egg-editable-toolbar.c
index 2d42f29..c7a4007 100644
--- a/cut-n-paste/toolbar-editor/egg-editable-toolbar.c
+++ b/cut-n-paste/toolbar-editor/egg-editable-toolbar.c
@@ -688,11 +688,11 @@ 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, context->action == GDK_ACTION_MOVE, time);
+ gtk_drag_finish (context, TRUE, gdk_drag_context_get_selected_action (context) == GDK_ACTION_MOVE, time);
}
else
{
- gtk_drag_finish (context, FALSE, context->action == GDK_ACTION_MOVE, time);
+ gtk_drag_finish (context, FALSE, gdk_drag_context_get_selected_action (context) == GDK_ACTION_MOVE, time);
}
}
@@ -751,7 +751,7 @@ toolbar_drag_motion_cb (GtkToolbar *toolbar,
etoolbar->priv->dnd_toolitem, ipos);
}
- gdk_drag_status (context, context->suggested_action, time);
+ gdk_drag_status (context, gdk_drag_context_get_suggested_action (context), time);
return TRUE;
}