Declare widget allocation macros for GTK+ < 2.18 properly
This commit is contained in:
parent
100eea41da
commit
3583a07056
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@
|
||||||
|
|
||||||
#if !GTK_CHECK_VERSION (2, 18, 0)
|
#if !GTK_CHECK_VERSION (2, 18, 0)
|
||||||
#define gtk_widget_get_has_window(wdgt) !GTK_WIDGET_NO_WINDOW (wdgt)
|
#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
|
#endif
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in a new issue