From: Enrico Tröger Date: Tue, 2 Mar 2010 22:57:14 +0000 (+0100) Subject: Declare widget allocation macros for GTK+ < 2.18 properly X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3583a070565f6f17278ac2c1b8dc77c5b1fa3579;p=midori Declare widget allocation macros for GTK+ < 2.18 properly --- diff --git a/katze/katze-utils.c b/katze/katze-utils.c index 21192d47..a4af47a5 100644 --- a/katze/katze-utils.c +++ b/katze/katze-utils.c @@ -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