]> spindle.queued.net Git - midori/commitdiff
Declare widget allocation macros for GTK+ < 2.18 properly
authorEnrico Tröger <enrico.troeger@uvena.de>
Tue, 2 Mar 2010 22:57:14 +0000 (23:57 +0100)
committerChristian Dywan <christian@twotoasts.de>
Tue, 2 Mar 2010 22:58:17 +0000 (23:58 +0100)
katze/katze-utils.c

index 21192d4738158bac77f2304dd3c3694693f3994a..a4af47a52e9b305ba00f74a1438c09c2ea49a639 100644 (file)
@@ -31,7 +31,7 @@
 
 #if !GTK_CHECK_VERSION (2, 18, 0)
     #define gtk_widget_get_has_window(wdgt) !GTK_WIDGET_NO_WINDOW (wdgt)
-    #define gtk_widget_get_allocation (wdgt, alloc) *alloc = wdgt->allocation
+    #define gtk_widget_get_allocation(wdgt, alloc) *alloc = wdgt->allocation
 #endif
 
 static void