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
This commit is contained in:
Matthias Clasen 2007-01-08 13:08:10 +00:00 committed by Matthias Clasen
parent e7fd0dbf1c
commit 74280fde6f
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2007-01-08 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkmodules.c (_gtk_modules_init): Set
default_display_opened before loading modules. (#393102,
Brian Cameron)
2007-01-07 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktextview.c (gtk_text_view_set_border_window_size):

View File

@ -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);