summaryrefslogtreecommitdiff
path: root/gdk/x11/gdkmain-x11.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2001-09-08 05:57:10 +0000
committerOwen Taylor <otaylor@src.gnome.org>2001-09-08 05:57:10 +0000
commitf6d7585d006aad0dcba05bc4e55ea38608a53496 (patch)
tree9e914e9da83d93dd3819776c9a2362d5b3f9f62c /gdk/x11/gdkmain-x11.c
parent1acc10a9afb48eea69faf5842a2a931a06fc4983 (diff)
downloadgtk+-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.c2
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);