]> spindle.queued.net Git - midori/commitdiff
Fix fallback gtk_widget_get_allocation definitions
authorChristian Dywan <christian@twotoasts.de>
Sat, 20 Feb 2010 22:54:03 +0000 (23:54 +0100)
committerChristian Dywan <christian@twotoasts.de>
Sun, 21 Feb 2010 11:51:31 +0000 (12:51 +0100)
katze/katze-scrolled.c
katze/katze-throbber.c

index 9d301102712502890a85dc5f4e77164f66b8bc85..2f0770cd72aa0d7d43d725d90f721745e3e42819 100644 (file)
@@ -27,7 +27,7 @@
 #endif
 #if !GTK_CHECK_VERSION (2, 18, 0)
     #define gtk_widget_set_window(wdgt, wndw) wdgt->window = wndw
-    #define gtk_widget_get_allocation (wdgt, alloc) *alloc = wdgt->allocation
+    #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
 #endif
index 99563353894684e2d831e34469092d39340f2d5c..dce2189d05fc8ad72c8fd9686365eab4cb155116 100644 (file)
@@ -17,7 +17,7 @@
 #include <math.h>
 
 #if !GTK_CHECK_VERSION (2, 18, 0)
-    #define gtk_widget_get_allocation (wdgt, alloc) *alloc = wdgt->allocation
+    #define gtk_widget_get_allocation(wdgt, alloc) *alloc = wdgt->allocation
     #define gtk_widget_set_has_window(wdgt, wnd) \
         if (wnd) GTK_WIDGET_UNSET_FLAGS (wdgt, GTK_NO_WINDOW); \
         else GTK_WIDGET_SET_FLAGS (wdgt, GTK_NO_WINDOW)