X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Futil.h;h=e397a4e80ac37bbc77e230c6b497f12b3f33b638;hb=d638e3029afb0f48360f928332f61a8fafa3032c;hp=4a5920d2fbfa692627f17a09bc34a3fe5e8d1b97;hpb=0adbffb38621192c416ac52aa6b82ac57fb6394d;p=i3%2Fi3 diff --git a/include/util.h b/include/util.h index 4a5920d2..e397a4e8 100644 --- a/include/util.h +++ b/include/util.h @@ -8,8 +8,8 @@ * also libi3). * */ -#ifndef _UTIL_H -#define _UTIL_H +#ifndef I3_UTIL_H +#define I3_UTIL_H #include @@ -91,15 +91,6 @@ void exec_i3_utility(char *name, char *argv[]); void check_error(xcb_connection_t *conn, xcb_void_cookie_t cookie, char *err_message); -/** - * Converts the given string to UCS-2 big endian for use with - * xcb_image_text_16(). The amount of real glyphs is stored in real_strlen, a - * buffer containing the UCS-2 encoded string (16 bit per glyph) is - * returned. It has to be freed when done. - * - */ -char *convert_utf8_to_ucs2(char *input, int *real_strlen); - /** * This function resolves ~ in pathnames. * It may resolve wildcards in the first part of the path, but if no match