[libwnck/wip/muktupavels/gnome-3-20: 10/12] tasklist: 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: 10/12] tasklist: drop obsolete GTK_CHECK_VERSION
- Date: Tue, 22 Mar 2016 15:52:44 +0000 (UTC)
commit 7086e432062160b06e900e6f0883573c7bdfc633
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Tue Mar 22 17:23:26 2016 +0200
tasklist: drop obsolete GTK_CHECK_VERSION
libwnck/tasklist.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/libwnck/tasklist.c b/libwnck/tasklist.c
index ea49485..1f254df 100644
--- a/libwnck/tasklist.c
+++ b/libwnck/tasklist.c
@@ -698,9 +698,7 @@ wnck_tasklist_class_init (WnckTasklistClass *klass)
0.0, 1.0, 0.8,
G_PARAM_READABLE|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB));
-#if GTK_CHECK_VERSION (3, 19, 1)
gtk_widget_class_set_css_name (widget_class, "wnck-tasklist");
-#endif
}
static void
@@ -3483,11 +3481,7 @@ wnck_task_drag_motion (GtkWidget *widget,
if (gtk_drag_dest_find_target (widget, context, NULL))
{
gtk_drag_highlight (widget);
-#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]