diff options
author | Vincent Sanders <vince@kyllikki.org> | 2018-08-26 11:22:20 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2018-08-26 11:22:20 +0100 |
commit | 487309a1e673c406f97cdd3cfd64b77f7d2e5582 (patch) | |
tree | 09dfd683863f1b8ea1837540a7b2a94a80d18f9c /frontends/gtk/compat.h | |
parent | 4765c68a15545a2c5465781f2957d771e5c7eb77 (diff) | |
download | netsurf-487309a1e673c406f97cdd3cfd64b77f7d2e5582.tar.gz netsurf-487309a1e673c406f97cdd3cfd64b77f7d2e5582.tar.bz2 |
fixup usage of gvalue init macro
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. * |