summaryrefslogtreecommitdiff
path: root/gtk/gtkmodules.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2007-01-08 13:08:10 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2007-01-08 13:08:10 +0000
commit74280fde6f26ec46c9d9cb5be074aaf2b8610021 (patch)
tree5f00776c6d911e1a54116bf58c34eccf46643ea9 /gtk/gtkmodules.c
parente7fd0dbf1c0017678f28eec6dbd2dc140c8aa582 (diff)
downloadgtk+-74280fde6f26ec46c9d9cb5be074aaf2b8610021.tar.gz
Set default_display_opened before loading modules. (#393102, Brian
2007-01-08 Matthias Clasen <mclasen@redhat.com> * gtk/gtkmodules.c (_gtk_modules_init): Set default_display_opened before loading modules. (#393102, Brian Cameron) svn path=/trunk/; revision=17114
Diffstat (limited to 'gtk/gtkmodules.c')
-rw-r--r--gtk/gtkmodules.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkmodules.c b/gtk/gtkmodules.c
index 97944f13b0..c72516f0ce 100644
--- a/gtk/gtkmodules.c
+++ b/gtk/gtkmodules.c
@@ -499,6 +499,7 @@ _gtk_modules_init (gint *argc,
}
display_manager = gdk_display_manager_get ();
+ default_display_opened = gdk_display_get_default () != NULL;
g_signal_connect (display_manager, "notify::default-display",
G_CALLBACK (default_display_notify_cb),
NULL);