Open the default display even when gtk_parse_args() has already been

* gtk/gtkmain.c (gtk_init_with_args): Open the default display
        even when gtk_parse_args() has already been called.
        Patch by Mathias Hasselmann

svn path=/trunk/; revision=20366
This commit is contained in:
Matthias Clasen 2008-06-13 03:24:37 +00:00
parent 1dc476954f
commit 809bc59c58
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,12 @@
2008-06-12 Matthias Clasen <mclasen@redhat.com>
Bug 537985 gtk_init_with_args() doesn't open a display after
gtk_parse_args()
* gtk/gtkmain.c (gtk_init_with_args): Open the default display
even when gtk_parse_args() has already been called.
Patch by Mathias Hasselmann
2008-06-12 Matthias Clasen <mclasen@redhat.com>
Bug 524222 GtkToolbar with mix of buttons with and without

View File

@ -819,7 +819,7 @@ gtk_init_with_args (int *argc,
gboolean retval;
if (gtk_initialized)
return TRUE;
return gdk_display_open_default_libgtk_only () != NULL;
gettext_initialization ();