Declare widget allocation macros for GTK+ < 2.18 properly

This commit is contained in:
Enrico Tröger 2010-03-02 23:57:14 +01:00 committed by Christian Dywan
parent 100eea41da
commit 3583a07056

View file

@ -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