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



commit 4a26a9c7d7f2511bceca99bf0fcb33e52bc0c8ec
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]