}
};
-ObAction *action_from_string(char *name, ObUserAction uact)
+ObAction *action_from_string(const gchar *name, ObUserAction uact)
{
ObAction *a = NULL;
gboolean exist = FALSE;
action_resize_relative_vert - the delta
*/
-ObAction *action_from_string(char *name, ObUserAction uact);
+ObAction *action_from_string(const gchar *name, ObUserAction uact);
ObAction *action_parse(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node,
ObUserAction uact);
void action_free(ObAction *a);
}
}
-ObFrameContext frame_context_from_string(char *name)
+ObFrameContext frame_context_from_string(const gchar *name)
{
if (!g_ascii_strcasecmp("Desktop", name))
return OB_FRAME_CONTEXT_DESKTOP;
void frame_grab_client(ObFrame *self, struct _ObClient *client);
void frame_release_client(ObFrame *self, struct _ObClient *client);
-ObFrameContext frame_context_from_string(char *name);
+ObFrameContext frame_context_from_string(const gchar *name);
ObFrameContext frame_context(struct _ObClient *self, Window win);
return 0;
}
-gboolean translate_button(char *str, guint *state, guint *button)
+gboolean translate_button(const gchar *str, guint *state, guint *button)
{
char **parsed;
char *l;
return ret;
}
-gboolean translate_key(char *str, guint *state, guint *keycode)
+gboolean translate_key(const gchar *str, guint *state, guint *keycode)
{
char **parsed;
char *l;
#include <glib.h>
-gboolean translate_button(gchar *str, guint *state, guint *keycode);
-gboolean translate_key(gchar *str, guint *state, guint *keycode);
+gboolean translate_button(const gchar *str, guint *state, guint *keycode);
+gboolean translate_key(const gchar *str, guint *state, guint *keycode);
#endif