[Xfce4-commits] <midori:master> Fix fallback gtk_widget_get_allocation definitions

Christian Dywan noreply at xfce.org
Sun Feb 21 12:52:01 CET 2010


Updating branch refs/heads/master
         to 1f9dbe9f2587c43416c1fdd7cd5e4ef5cb6df896 (commit)
       from 1261405a0f52539e1a683be1d33316a8f802d785 (commit)

commit 1f9dbe9f2587c43416c1fdd7cd5e4ef5cb6df896
Author: Christian Dywan <christian at twotoasts.de>
Date:   Sat Feb 20 23:54:03 2010 +0100

    Fix fallback gtk_widget_get_allocation definitions

 katze/katze-scrolled.c |    2 +-
 katze/katze-throbber.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/katze/katze-scrolled.c b/katze/katze-scrolled.c
index 9d30110..2f0770c 100644
--- a/katze/katze-scrolled.c
+++ b/katze/katze-scrolled.c
@@ -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
diff --git a/katze/katze-throbber.c b/katze/katze-throbber.c
index 9956335..dce2189 100644
--- a/katze/katze-throbber.c
+++ b/katze/katze-throbber.c
@@ -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)



More information about the Xfce4-commits mailing list