diff options
Diffstat (limited to 'frontends/gtk/compat.h')
-rw-r--r-- | frontends/gtk/compat.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/frontends/gtk/compat.h b/frontends/gtk/compat.h index d822e2dee..2276229c1 100644 --- a/frontends/gtk/compat.h +++ b/frontends/gtk/compat.h @@ -80,6 +80,12 @@ typedef enum { } GtkAlign; #endif +/* value init since gtk 2.30 */ +#ifndef G_VALUE_INIT +#define G_VALUE_INIT { 0, { { 0 } } } +#endif + + /** * Set the alignment of a widget. * |