ue Jun 18 12:04:10 2002 Owen Taylor <otaylor@redhat.com>

* gdk/gdk.c (gdk_init_check): Change handling
        of gdk_intialized(), so that gdk_parse_args(),
        gdk_init_check() sequence works.
This commit is contained in:
Owen Taylor 2002-06-18 18:35:41 +00:00
parent 3c04199080
commit 1371ded54c
7 changed files with 44 additions and 5 deletions

View File

@ -1,3 +1,9 @@
Tue Jun 18 12:04:10 2002 Owen Taylor <otaylor@redhat.com>
* gdk/gdk.c (gdk_init_check): Change handling
of gdk_intialized(), so that gdk_parse_args(),
gdk_init_check() sequence works.
Tue Jun 18 11:46:33 2002 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkwindow-x11.c (get_move_resize_data): Add

View File

@ -1,3 +1,9 @@
Tue Jun 18 12:04:10 2002 Owen Taylor <otaylor@redhat.com>
* gdk/gdk.c (gdk_init_check): Change handling
of gdk_intialized(), so that gdk_parse_args(),
gdk_init_check() sequence works.
Tue Jun 18 11:46:33 2002 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkwindow-x11.c (get_move_resize_data): Add

View File

@ -1,3 +1,9 @@
Tue Jun 18 12:04:10 2002 Owen Taylor <otaylor@redhat.com>
* gdk/gdk.c (gdk_init_check): Change handling
of gdk_intialized(), so that gdk_parse_args(),
gdk_init_check() sequence works.
Tue Jun 18 11:46:33 2002 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkwindow-x11.c (get_move_resize_data): Add

View File

@ -1,3 +1,9 @@
Tue Jun 18 12:04:10 2002 Owen Taylor <otaylor@redhat.com>
* gdk/gdk.c (gdk_init_check): Change handling
of gdk_intialized(), so that gdk_parse_args(),
gdk_init_check() sequence works.
Tue Jun 18 11:46:33 2002 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkwindow-x11.c (get_move_resize_data): Add

View File

@ -1,3 +1,9 @@
Tue Jun 18 12:04:10 2002 Owen Taylor <otaylor@redhat.com>
* gdk/gdk.c (gdk_init_check): Change handling
of gdk_intialized(), so that gdk_parse_args(),
gdk_init_check() sequence works.
Tue Jun 18 11:46:33 2002 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkwindow-x11.c (get_move_resize_data): Add

View File

@ -1,3 +1,9 @@
Tue Jun 18 12:04:10 2002 Owen Taylor <otaylor@redhat.com>
* gdk/gdk.c (gdk_init_check): Change handling
of gdk_intialized(), so that gdk_parse_args(),
gdk_init_check() sequence works.
Tue Jun 18 11:46:33 2002 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkwindow-x11.c (get_move_resize_data): Add

View File

@ -286,6 +286,11 @@ gdk_parse_args (int *argc,
GdkArgContext *arg_context;
gint i;
if (gdk_initialized)
return TRUE;
gdk_initialized = TRUE;
if (argc && argv)
{
gdk_argc = *argc;
@ -385,13 +390,11 @@ gdk_init_check (int *argc,
{
GdkDisplay *display;
if (gdk_initialized)
return TRUE;
gdk_parse_args (argc, argv);
gdk_initialized = 1;
if (gdk_get_default_display ())
return TRUE;
display = gdk_open_display (_gdk_display_name);
if (display)