forked from AuroraMiddleware/gtk
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:
parent
3c04199080
commit
1371ded54c
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
11
gdk/gdk.c
11
gdk/gdk.c
@ -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,12 +390,10 @@ 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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user