[libwnck] tasklist: drop obsolete GTK_CHECK_VERSION
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libwnck] tasklist: drop obsolete GTK_CHECK_VERSION
- Date: Fri, 11 Nov 2016 22:35:16 +0000 (UTC)
commit 0641ea286e42f65708c8e36faa1b8a7253338eb8
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 a106af2..16bfddd 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
@@ -3488,11 +3486,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]