From 1f9dbe9f2587c43416c1fdd7cd5e4ef5cb6df896 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Sat, 20 Feb 2010 23:54:03 +0100 Subject: [PATCH] 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 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) -- 2.39.5