From 545061829795ad5c5f07f2b2607d42b3e695ed15 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 17 May 2010 19:04:06 -0400 Subject: avoid new gcc warning (casting ** to const** is not valid for good reason) --- 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 4b91a6dd..47ecc183 100644 --- a/openbox/screen.c +++ b/openbox/screen.c @@ -396,7 +396,7 @@ void screen_startup(gboolean reconfig) /* set the root window property */ OBT_PROP_SETSS(obt_root(ob_screen), - NET_DESKTOP_NAMES, utf8, (const gchar**)names); + NET_DESKTOP_NAMES, utf8, (const gchar*const*)names); g_strfreev(names); } @@ -1206,7 +1206,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(obt_root(ob_screen), NET_DESKTOP_NAMES, - utf8, (const gchar**)screen_desktop_names); + utf8, (const gchar*const*)screen_desktop_names); } /* resize the pager for these names */ -- cgit v1.2.3