]> www.fi.muni.cz Git - evince.git/blobdiff - shell/ev-sidebar-attachments.c
Bump requirements to gtk 2.8 and drop all idfefs used.
[evince.git] / shell / ev-sidebar-attachments.c
index 1533dc838e07c2abd0893d0b373fe2c37030ad9b..2b7393d34787552f9b43852233e6a4609ecf7e9e 100644 (file)
@@ -539,14 +539,13 @@ ev_sidebar_attachments_init (EvSidebarAttachments *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_COPY);
-#endif
+
        g_signal_connect (G_OBJECT (ev_attachbar->priv->icon_view),
                          "drag-data-get",
                          G_CALLBACK (ev_sidebar_attachments_drag_data_get),