[libwnck] pager: drop obsolete GTK_CHECK_VERSION



commit f21077263cba9b34e33f3a01a6c25f601547c0a8
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]