summaryrefslogtreecommitdiff
path: root/src/eom-window.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-04-21 12:20:46 -0700
committerStefano Karapetsas <[email protected]>2013-04-21 12:20:46 -0700
commitd242b0e941799cd5d00d9711802a3896ab7bd3cf (patch)
tree53125049c568aed07f025f4d5994a4c28bb79686 /src/eom-window.c
parent457a0b86a2e213c36a0f0c776cef90bd560c6684 (diff)
parenta6b92010adfac205341cf0579b5b102a520f798e (diff)
downloadeom-d242b0e941799cd5d00d9711802a3896ab7bd3cf.tar.bz2
eom-d242b0e941799cd5d00d9711802a3896ab7bd3cf.tar.xz
Merge pull request #15 from eyelash/gseal
replace direct struct access with accessor functions
Diffstat (limited to 'src/eom-window.c')
-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 7a8ec7a..aa1ae6f 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));