]> spindle.queued.net Git - midori/commitdiff
Add fallback definition of gtk_widget_get_visible in KatzeScrolled
authorChristian Dywan <christian@twotoasts.de>
Sun, 21 Feb 2010 17:01:20 +0000 (18:01 +0100)
committerChristian Dywan <christian@twotoasts.de>
Sun, 21 Feb 2010 17:01:20 +0000 (18:01 +0100)
katze/katze-scrolled.c

index 2f0770cd72aa0d7d43d725d90f721745e3e42819..6266b633302e085bbe8d65776837e0c2f6a55482 100644 (file)
@@ -30,6 +30,7 @@
     #define gtk_widget_get_allocation(wdgt, alloc) *alloc = wdgt->allocation
     #define gtk_widget_is_drawable GTK_WIDGET_DRAWABLE
     #define gtk_widget_get_drawable GTK_WIDGET_VISIBLE
+    #define gtk_widget_get_visible(wdgt) GTK_WIDGET_VISIBLE (wdgt)
 #endif
 #if !GTK_CHECK_VERSION (2, 19, 6)
     #define gtk_widget_set_realized(wdgt, real) \