diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-04-11 02:31:20 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-04-11 02:31:20 +0000 |
| commit | f317ceeaf28bc656e59a0f089ac11818ca5e8bd3 (patch) | |
| tree | 4407208ee3b6d0eaa7b987bc957591b03e1cc9bb /cwmcc/prop.h | |
| parent | d8fc08f33d5148be6294a8469066cf6a4604e940 (diff) | |
add get functions for all the client properties
Diffstat (limited to 'cwmcc/prop.h')
| -rw-r--r-- | cwmcc/prop.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/cwmcc/prop.h b/cwmcc/prop.h index ca49ce08..c046f5b8 100644 --- a/cwmcc/prop.h +++ b/cwmcc/prop.h @@ -1,6 +1,7 @@ #ifndef __prop_h #define __prop_h +#include <glib.h> #include <X11/Xlib.h> /* with the exception of prop_get32, all other prop_get_* functions require @@ -15,7 +16,7 @@ gboolean prop_get_array32(Window win, Atom prop, Atom type, gulong **ret, gboolean prop_get_string(Window win, Atom prop, Atom type, char **ret); /*! Gets a string from a property which is stored in UTF-8 encoding. */ -gboolean prop_get_string_utf(Window win, Atom prop, char **ret); +gboolean prop_get_string_utf8(Window win, Atom prop, char **ret); /*! Gets a string from a property which is stored in the current local encoding. The returned string is in UTF-8 encoding. */ @@ -23,14 +24,14 @@ gboolean prop_get_string_locale(Window win, Atom prop, char **ret); /*! Gets a null terminated array of strings from a property which is stored in UTF-8 encoding. */ -gboolean prop_get_strings_utf(Window win, Atom prop, Atom type, char ***ret); +gboolean prop_get_strings_utf8(Window win, Atom prop, char ***ret); /*! Gets a null terminated array of strings from a property which is stored in the current locale encoding. The returned string is in UTF-8 encoding. */ -gboolean prop_get_strings_locale(Window win, Atom prop, Atom type,char ***ret); +gboolean prop_get_strings_locale(Window win, Atom prop, char ***ret); /*! Sets a null terminated array of strings in a property encoded as UTF-8. */ -void prop_set_strings_utf(Window win, Atom prop, Atom type, char **strs); +void prop_set_strings_utf8(Window win, Atom prop, char **strs); void prop_erase(Window win, Atom prop); |
