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.
This commit is contained in:
Owen Taylor
2001-09-08 05:57:10 +00:00
committed by Owen Taylor
parent 1acc10a9af
commit f6d7585d00
9 changed files with 58 additions and 1 deletions

View File

@ -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);