[libwnck/wip/muktupavels/gnome-3-20: 8/12] pager: drop obsolete GTK_CHECK_VERSION
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libwnck/wip/muktupavels/gnome-3-20: 8/12] pager: drop obsolete GTK_CHECK_VERSION
- Date: Tue, 22 Mar 2016 15:52:33 +0000 (UTC)
commit 2b2c08dfd072a1960a774dba2e9db47650d692ae
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]