diff options
author | Carlos Garcia Campos <carlosgc@gnome.org> | 2010-03-31 15:51:45 (GMT) |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@gnome.org> | 2010-03-31 15:51:45 (GMT) |
commit | 764836d36a1391ed0bc03841c68ed768e7ec94b6 (patch) | |
tree | ae6ecce071383c03ead7d48f4601d5fa0e89ccd6 /shell/ev-sidebar-attachments.c | |
parent | 615629a95ba70c7c750c3472b36cb4440f2ead84 (diff) |
Bump GTK+ requirements to 2.20.0
Remove GTK_CHECK_VERSION macros and unneeded code.
Diffstat (limited to 'shell/ev-sidebar-attachments.c')
-rw-r--r-- | shell/ev-sidebar-attachments.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/shell/ev-sidebar-attachments.c b/shell/ev-sidebar-attachments.c index aaaea31..60c7ae0 100644 --- a/shell/ev-sidebar-attachments.c +++ b/shell/ev-sidebar-attachments.c @@ -534,12 +534,6 @@ ev_sidebar_attachments_class_init (EvSidebarAttachmentsClass *ev_attachbar_class static void ev_sidebar_attachments_init (EvSidebarAttachments *ev_attachbar) { -#if !GTK_CHECK_VERSION (2, 15, 0) - const GtkTargetEntry drag_targets[] = { - { "text/uri-list", 0, 0 } - }; -#endif - GtkWidget *swindow; ev_attachbar->priv = EV_SIDEBAR_ATTACHMENTS_GET_PRIVATE (ev_attachbar); @@ -589,21 +583,12 @@ ev_sidebar_attachments_init (EvSidebarAttachments *ev_attachbar) g_object_unref); /* Drag and Drop */ -#if GTK_CHECK_VERSION (2, 15, 0) gtk_icon_view_enable_model_drag_source ( GTK_ICON_VIEW (ev_attachbar->priv->icon_view), GDK_BUTTON1_MASK, NULL, 0, GDK_ACTION_COPY); gtk_drag_source_add_uri_targets (ev_attachbar->priv->icon_view); -#else - 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 (ev_attachbar->priv->icon_view, "drag-data-get", |