clapper-app: Ensure private types for GtkBuilder

We need to ensure types that are not part of public API, otherwise GtkBuilder will fail to use them
(e81aad25a1/gtk/glade/README.glade (L15)).
This commit is contained in:
Rafał Dzięgiel
2024-06-16 15:21:16 +02:00
parent 6ca1bccd1a
commit 262983e857
4 changed files with 73 additions and 0 deletions

View File

@@ -25,6 +25,7 @@
#include <clapper/clapper.h>
#include "clapper-app-application.h"
#include "clapper-app-types.h"
gint
main (gint argc, gchar **argv)
@@ -46,6 +47,8 @@ main (gint argc, gchar **argv)
gtk_init ();
adw_init ();
clapper_app_types_init ();
g_set_application_name ("Clapper");
application = clapper_app_application_new ();