From a6b92010adfac205341cf0579b5b102a520f798e Mon Sep 17 00:00:00 2001 From: Elias Aebi Date: Sun, 21 Apr 2013 12:57:07 +0200 Subject: replace direct struct access with accessor functions in order to make it build with GSEAL_ENABLE --- src/eom-window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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)); -- cgit v1.2.1