Commit 1371ded5 authored by Owen Taylor's avatar Owen Taylor
Browse files

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.
parent 3c041990
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
......
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
......
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
......
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
......
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
......
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
......
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment