[gtk] Make debug messages work earlier
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] Make debug messages work earlier
- Date: Wed, 7 Mar 2018 01:55:48 +0000 (UTC)
commit 5ec41fb47b1c9eaf0ae61ed93deabd7b16ad87a6
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Mar 6 18:57:16 2018 -0500
Make debug messages work earlier
We need to be able to produce debug output during module
loading. This change ensures that we can.
gtk/gtkmain.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]