diff options
author | Owen Taylor <otaylor@redhat.com> | 2001-09-08 05:57:10 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2001-09-08 05:57:10 +0000 |
commit | f6d7585d006aad0dcba05bc4e55ea38608a53496 (patch) | |
tree | 9e914e9da83d93dd3819776c9a2362d5b3f9f62c /gdk/x11/gdkmain-x11.c | |
parent | 1acc10a9afb48eea69faf5842a2a931a06fc4983 (diff) | |
download | gtk+-f6d7585d006aad0dcba05bc4e55ea38608a53496.tar.gz |
Prevent a false alarm constness warning with a cast.
Sat Sep 8 01:49:22 2001 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkmain-x11.c (_gdk_windowing_init_check): Prevent a
false alarm constness warning with a cast.
* gdk/x11/gdkx.h: Undefine GDK_ROOT_PARENT before redefining it
for the inside-gdk case.
Diffstat (limited to 'gdk/x11/gdkmain-x11.c')
-rw-r--r-- | gdk/x11/gdkmain-x11.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/x11/gdkmain-x11.c b/gdk/x11/gdkmain-x11.c index 0c696e8327..cf2b41ffee 100644 --- a/gdk/x11/gdkmain-x11.c +++ b/gdk/x11/gdkmain-x11.c @@ -134,7 +134,7 @@ _gdk_windowing_init_check (int argc, char **argv) 10, 10, 10, 10, 0, 0 , 0); class_hint = XAllocClassHint(); class_hint->res_name = g_get_prgname (); - class_hint->res_class = gdk_get_program_class (); + class_hint->res_class = (char *)gdk_get_program_class (); XmbSetWMProperties (gdk_display, _gdk_leader_window, NULL, NULL, argv, argc, NULL, NULL, class_hint); |