gtk+ r20366 - in trunk: . gtk
- From: matthiasc svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk+ r20366 - in trunk: . gtk
- Date: Fri, 13 Jun 2008 03:24:37 +0000 (UTC)
Author: matthiasc
Date: Fri Jun 13 03:24:37 2008
New Revision: 20366
URL: http://svn.gnome.org/viewvc/gtk+?rev=20366&view=rev
Log:
* gtk/gtkmain.c (gtk_init_with_args): Open the default display
even when gtk_parse_args() has already been called.
Patch by Mathias Hasselmann
Modified:
trunk/ChangeLog
trunk/gtk/gtkmain.c
Modified: trunk/gtk/gtkmain.c
==============================================================================
--- trunk/gtk/gtkmain.c (original)
+++ trunk/gtk/gtkmain.c Fri Jun 13 03:24:37 2008
@@ -819,7 +819,7 @@
gboolean retval;
if (gtk_initialized)
- return TRUE;
+ return gdk_display_open_default_libgtk_only () != NULL;
gettext_initialization ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]