diff options
author | Matthias Clasen <mclasen@redhat.com> | 2007-01-08 13:08:10 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2007-01-08 13:08:10 +0000 |
commit | 74280fde6f26ec46c9d9cb5be074aaf2b8610021 (patch) | |
tree | 5f00776c6d911e1a54116bf58c34eccf46643ea9 /gtk/gtkmodules.c | |
parent | e7fd0dbf1c0017678f28eec6dbd2dc140c8aa582 (diff) | |
download | gtk+-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.c | 1 |
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); |