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) --- obt/prop.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'obt/prop.h') diff --git a/obt/prop.h b/obt/prop.h index cc1fe736..7ccc218e 100644 --- a/obt/prop.h +++ b/obt/prop.h @@ -236,8 +236,10 @@ void obt_prop_set_array32(Window win, Atom prop, Atom type, gulong *val, guint num); void obt_prop_set_string_locale(Window win, Atom prop, const gchar *val); void obt_prop_set_string_utf8(Window win, Atom prop, const gchar *val); -void obt_prop_set_strings_locale(Window win, Atom prop, const gchar **strs); -void obt_prop_set_strings_utf8(Window win, Atom prop, const gchar **strs); +void obt_prop_set_strings_locale(Window win, Atom prop, + const gchar *const *strs); +void obt_prop_set_strings_utf8(Window win, Atom prop, + const gchar *const *strs); void obt_prop_erase(Window win, Atom prop); -- cgit v1.2.3