diff options
author | John Stebbins <[email protected]> | 2018-04-19 12:16:18 -0700 |
---|---|---|
committer | John Stebbins <[email protected]> | 2018-04-19 12:16:18 -0700 |
commit | 3932f559303edd80fb7be32ac0b6b128b2137458 (patch) | |
tree | 8002cc01fbaadd5c99dd75a9703c162192cd17ed /gtk/src/Makefile.am | |
parent | 2967fbd87cecaccdc6ddfe7b2995c2a652fc4dff (diff) |
LinGui: start adding Gtk4 support
Gtk4 drops support for a number of widget properties and APIs.
Fortunately these were all pretty much duplicate functionality that
could be replaced by other existing properties and APIs.
Building with Gtk4 is currently disabled due to several bugs in libgtk4.
Diffstat (limited to 'gtk/src/Makefile.am')
-rw-r--r-- | gtk/src/Makefile.am | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/src/Makefile.am b/gtk/src/Makefile.am index 9468dd616..9b03fcb5b 100644 --- a/gtk/src/Makefile.am +++ b/gtk/src/Makefile.am @@ -132,6 +132,9 @@ data_res.h : data_res.gresource.xml $(srcdir)/internal_defaults.json widget.deps cp $(srcdir)/internal_defaults.json . glib-compile-resources --generate --target=$@ --c-name ghb_data --manual-register $< +if GHB_GTK_4_00 +UI=400 +else if GHB_GTK_3_16 UI=316 else @@ -145,6 +148,7 @@ UI=300 endif endif endif +endif ui_res.c : ui_res.gresource.xml ui_res.h $(srcdir)/ghb.m4 glib-compile-resources --generate --target=$@ --c-name ghb_ui --manual-register $< |