From: Christian Dywan Date: Sat, 20 Feb 2010 22:54:03 +0000 (+0100) Subject: Fix fallback gtk_widget_get_allocation definitions X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f9dbe9f2587c43416c1fdd7cd5e4ef5cb6df896;p=midori Fix fallback gtk_widget_get_allocation definitions --- diff --git a/katze/katze-scrolled.c b/katze/katze-scrolled.c index 9d301102..2f0770cd 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 99563353..dce2189d 100644 --- a/katze/katze-throbber.c +++ b/katze/katze-throbber.c @@ -17,7 +17,7 @@ #include #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)