[gtk+/client-side-windows: 194/284] Fix warning about XChangeProperty argument type



commit e542f734a83b54a8c1c89bb2fa5d8ccb0983747f
Author: Alexander Larsson <alexl redhat com>
Date:   Tue Jan 27 15:12:50 2009 +0100

    Fix warning about XChangeProperty argument type
---
 gdk/x11/gdkwindow-x11.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gdk/x11/gdkwindow-x11.c b/gdk/x11/gdkwindow-x11.c
index 6e3b788..204e6bf 100644
--- a/gdk/x11/gdkwindow-x11.c
+++ b/gdk/x11/gdkwindow-x11.c
@@ -2611,7 +2611,7 @@ gdk_window_set_startup_id (GdkWindow   *window,
 	XChangeProperty (GDK_DISPLAY_XDISPLAY (display), GDK_WINDOW_XID (window),
 			 gdk_x11_get_xatom_by_name_for_display (display, "_NET_STARTUP_ID"), 
 			 gdk_x11_get_xatom_by_name_for_display (display, "UTF8_STRING"), 8,
-			 PropModeReplace, startup_id, strlen (startup_id));
+			 PropModeReplace, (unsigned char *)startup_id, strlen (startup_id));
       else
 	XDeleteProperty (GDK_DISPLAY_XDISPLAY (display), GDK_WINDOW_XID (window),
 			 gdk_x11_get_xatom_by_name_for_display (display, "_NET_STARTUP_ID"));



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]