From c22e6012d11e7316953c7a71222f11337d8c4868 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 27 Jul 2007 01:44:12 -0400 Subject: fix constness --- openbox/screen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'openbox') diff --git a/openbox/screen.c b/openbox/screen.c index d8c22fd4..ef98446b 100644 --- a/openbox/screen.c +++ b/openbox/screen.c @@ -385,7 +385,7 @@ void screen_startup(gboolean reconfig) /* set the root window property */ OBT_PROP_SETSS(RootWindow(obt_display, ob_screen), - NET_DESKTOP_NAMES, utf8, names); + NET_DESKTOP_NAMES, utf8, (const gchar**)names); g_strfreev(names); } @@ -1162,7 +1162,7 @@ void screen_update_desktop_names(void) /* if we changed any names, then set the root property so we can all agree on the names */ OBT_PROP_SETSS(RootWindow(obt_display, ob_screen), NET_DESKTOP_NAMES, - utf8, screen_desktop_names); + utf8, (const gchar**)screen_desktop_names); } /* resize the pager for these names */ -- cgit v1.2.3