forked from AuroraMiddleware/gtk
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:
parent
1dc476954f
commit
809bc59c58
@ -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
|
||||
|
@ -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 ();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user