This adds some macros in demos/gtk-demo/generics.h, that can generate an API (at the moment for GListModel and GListStore) that is checked by the compiler for usage of the right types.
Also the code in demos/gtk/demo/dropdown.c was ported to it.
This adds some macros in demos/gtk-demo/generics.h, that can generate an API (at the moment for GListModel and GListStore) that is checked by the compiler for usage of the right types.
Also the code in demos/gtk/demo/dropdown.c was ported to it.