summaryrefslogtreecommitdiff
path: root/gtk/gtkmain.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2018-03-06 18:57:16 -0500
committerMatthias Clasen <mclasen@redhat.com>2018-03-06 20:54:26 -0500
commit5ec41fb47b1c9eaf0ae61ed93deabd7b16ad87a6 (patch)
treeb56b57f0b9735eb494c9e3217b3b8ca4c4a86602 /gtk/gtkmain.c
parent122e7b16e6d04de3125af75d82802d1ff09e0885 (diff)
downloadgtk+-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.c2
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