bloatpad: Call gtk_init in main

We end up using a display via gtk_application_set_accels_for_action,
and that can't happen before gtk_init anymore.
This commit is contained in:
Matthias Clasen 2024-10-21 21:15:58 -04:00
parent c09a51628b
commit 111230f5f9

View File

@ -717,6 +717,8 @@ main (int argc, char **argv)
int status;
const char *accels[] = { "F11", NULL };
gtk_init ();
bloat_pad = bloat_pad_new ();
gtk_application_set_accels_for_action (GTK_APPLICATION (bloat_pad),