summaryrefslogtreecommitdiff
path: root/src
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 /src
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 'src')
-rw-r--r--src/eom-window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eom-window.c b/src/eom-window.c
index db49a7b..d4b3482 100644
--- a/src/eom-window.c
+++ b/src/eom-window.c
@@ -4182,7 +4182,7 @@ eom_window_drag_data_received (GtkWidget *widget,
if (!gtk_targets_include_uri (&target, 1))
return;
- if (context->suggested_action == GDK_ACTION_COPY) {
+ if (gdk_drag_context_get_suggested_action (context) == GDK_ACTION_COPY) {
window = EOM_WINDOW (widget);
file_list = eom_util_parse_uri_string_list_to_file_list ((const gchar *) gtk_selection_data_get_data (selection_data));