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:
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user