diff options
author | Nickolay V. Shmyrev <nshmyrev@src.gnome.org> | 2006-04-03 12:35:04 (GMT) |
---|---|---|
committer | Nickolay V. Shmyrev <nshmyrev@src.gnome.org> | 2006-04-03 12:35:04 (GMT) |
commit | 2c3366a76e64a48a45379cfbd59d3af999cf9ac4 (patch) | |
tree | 6e7629b3073fb7cbab1a6cba3e061d835b64e4ed /shell | |
parent | d89b1cb89ef2d589befbe7a7f0c9732ff72ecc7b (diff) |
Fix compilation with gtk 2.6
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ev-attachment-bar.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/shell/ev-attachment-bar.c b/shell/ev-attachment-bar.c index 26e0687..b58f583 100644 --- a/shell/ev-attachment-bar.c +++ b/shell/ev-attachment-bar.c @@ -494,12 +494,14 @@ ev_attachment_bar_init (EvAttachmentBar *ev_attachbar) g_object_unref); /* Drag and Drop */ +#ifdef HAVE_GTK_ICON_VIEW_ENABLE_MODEL_DRAG_SOURCE gtk_icon_view_enable_model_drag_source ( GTK_ICON_VIEW (ev_attachbar->priv->icon_view), GDK_BUTTON1_MASK, drag_targets, G_N_ELEMENTS (drag_targets), - GDK_ACTION_MOVE); + GDK_ACTION_COPY); +#endif g_signal_connect (G_OBJECT (ev_attachbar->priv->icon_view), "drag-data-get", G_CALLBACK (ev_attachment_bar_drag_data_get), |