Make debug messages work earlier

We need to be able to produce debug output during module
loading. This change ensures that we can.
This commit is contained in:
Matthias Clasen 2018-03-06 18:57:16 -05:00
parent 122e7b16e6
commit 5ec41fb47b

View File

@ -629,10 +629,10 @@ gettext_initialization (void)
static void static void
default_display_notify_cb (GdkDisplayManager *dm) default_display_notify_cb (GdkDisplayManager *dm)
{ {
debug_flags[0].display = gdk_display_get_default ();
gtk_print_backends_init (); gtk_print_backends_init ();
gtk_im_modules_init (); gtk_im_modules_init ();
_gtk_accessibility_init (); _gtk_accessibility_init ();
debug_flags[0].display = gdk_display_get_default ();
} }
static void static void