This commit is contained in:
Dana Jansens 2003-09-17 08:01:37 +00:00
parent 16f46c296d
commit ebe3091560
6 changed files with 8 additions and 8 deletions

View file

@ -704,7 +704,7 @@ ActionString actionstrings[] =
}
};
ObAction *action_from_string(char *name, ObUserAction uact)
ObAction *action_from_string(const gchar *name, ObUserAction uact)
{
ObAction *a = NULL;
gboolean exist = FALSE;

View file

@ -164,7 +164,7 @@ struct _ObAction {
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);

View file

@ -646,7 +646,7 @@ static void layout_title(ObFrame *self)
}
}
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;

View file

@ -155,7 +155,7 @@ void frame_adjust_icon(ObFrame *self);
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);

View file

@ -39,7 +39,7 @@ static guint translate_modifier(char *str)
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;
@ -82,7 +82,7 @@ translation_fail:
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;

View file

@ -21,7 +21,7 @@
#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