[libwnck/wip/muktupavels/gnome-3-20: 6/12] workspace-accessible: drop obsolete GTK_CHECK_VERSION



commit 00f4b5fd6a937e4fb8339df6d985a59add3e9c43
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Tue Mar 22 15:58:13 2016 +0200

    workspace-accessible: drop obsolete GTK_CHECK_VERSION

 libwnck/workspace-accessible.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/libwnck/workspace-accessible.c b/libwnck/workspace-accessible.c
index d4f2352..28d127b 100644
--- a/libwnck/workspace-accessible.c
+++ b/libwnck/workspace-accessible.c
@@ -116,11 +116,7 @@ wnck_workspace_accessible_get_extents (AtkComponent *component,
   g_return_if_fail (WNCK_IS_WORKSPACE (g_obj));
 
   parent = atk_object_get_parent (ATK_OBJECT(component));
-#if GTK_CHECK_VERSION(2,21,0)
   widget = gtk_accessible_get_widget (GTK_ACCESSIBLE (parent));
-#else
-  widget = GTK_ACCESSIBLE (parent)->widget;
-#endif
 
   if (widget == NULL)
     {


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