[libwnck/wip/muktupavels/gnome-3-20: 18/22] pager: drop obsolete GTK_CHECK_VERSION



commit 19cd3387523f826c7d6ef9897cab0aad6da790db
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Tue Mar 22 17:22:05 2016 +0200

    pager: drop obsolete GTK_CHECK_VERSION

 libwnck/pager.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/libwnck/pager.c b/libwnck/pager.c
index 537ce86..58b257b 100644
--- a/libwnck/pager.c
+++ b/libwnck/pager.c
@@ -267,9 +267,7 @@ wnck_pager_class_init (WnckPagerClass *klass)
   widget_class->drag_end = wnck_pager_drag_end;
   widget_class->query_tooltip = wnck_pager_query_tooltip;
 
-#if GTK_CHECK_VERSION (3, 19, 1)
   gtk_widget_class_set_css_name (widget_class, "wnck-pager");
-#endif
 }
 
 static void
@@ -1619,11 +1617,7 @@ wnck_pager_drag_motion (GtkWidget          *widget,
 
   if (gtk_drag_dest_find_target (widget, context, NULL))
     {
-#if GTK_CHECK_VERSION(2,21,0)
       gdk_drag_status (context, gdk_drag_context_get_suggested_action (context), time);
-#else
-      gdk_drag_status (context, context->suggested_action, time);
-#endif
     }
   else
     {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]