diff options
author | Matthias Clasen <mclasen@redhat.com> | 2018-03-06 18:57:16 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2018-03-06 20:54:26 -0500 |
commit | 5ec41fb47b1c9eaf0ae61ed93deabd7b16ad87a6 (patch) | |
tree | b56b57f0b9735eb494c9e3217b3b8ca4c4a86602 /gtk/gtkmain.c | |
parent | 122e7b16e6d04de3125af75d82802d1ff09e0885 (diff) | |
download | gtk+-5ec41fb47b1c9eaf0ae61ed93deabd7b16ad87a6.tar.gz |
Make debug messages work earlier
We need to be able to produce debug output during module
loading. This change ensures that we can.
Diffstat (limited to 'gtk/gtkmain.c')
-rw-r--r-- | gtk/gtkmain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkmain.c b/gtk/gtkmain.c index 14e2bd0b11..395a470c57 100644 --- a/gtk/gtkmain.c +++ b/gtk/gtkmain.c @@ -629,10 +629,10 @@ gettext_initialization (void) static void default_display_notify_cb (GdkDisplayManager *dm) { + debug_flags[0].display = gdk_display_get_default (); gtk_print_backends_init (); gtk_im_modules_init (); _gtk_accessibility_init (); - debug_flags[0].display = gdk_display_get_default (); } static void |