From 591f8a8dbf10b7bd64825cfea63a7ac21b6c89e2 Mon Sep 17 00:00:00 2001 From: James Booth Date: Sun, 10 Feb 2013 11:31:31 +0000 Subject: Renamed jabber_presence_t->presence_t --- src/command/command.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/command') diff --git a/src/command/command.c b/src/command/command.c index 71f91e46..d1bc4ae4 100644 --- a/src/command/command.c +++ b/src/command/command.c @@ -68,7 +68,7 @@ struct cmd_t { }; static struct cmd_t * _cmd_get_command(const char * const command); -static void _update_presence(const jabber_presence_t presence, +static void _update_presence(const presence_t presence, const char * const show, gchar **args); static gboolean _cmd_set_boolean_preference(gchar *arg, struct cmd_help_t help, const char * const display, preference_t pref); @@ -85,7 +85,7 @@ static void _parameter_autocomplete_with_ac(char *input, int *size, char *comman Autocomplete ac); static int _strtoi(char *str, int *saveptr, int min, int max); -static jabber_presence_t _presence_type_from_string(const char * const str); +static presence_t _presence_type_from_string(const char * const str); // command prototypes static gboolean _cmd_quit(gchar **args, struct cmd_help_t help); @@ -1175,7 +1175,7 @@ _cmd_account(gchar **args, struct cmd_help_t help) int intval; if (_strtoi(value, &intval, -128, 127) == 0) { - jabber_presence_t presence_type = _presence_type_from_string(property); + presence_t presence_type = _presence_type_from_string(property); switch (presence_type) { case (PRESENCE_ONLINE): @@ -2348,7 +2348,7 @@ _cmd_xa(gchar **args, struct cmd_help_t help) // helper function for status change commands static void -_update_presence(const jabber_presence_t presence, +_update_presence(const presence_t presence, const char * const show, gchar **args) { char *msg = NULL; @@ -2648,7 +2648,7 @@ _strtoi(char *str, int *saveptr, int min, int max) return 0; } -static jabber_presence_t +static presence_t _presence_type_from_string(const char * const str) { if (str == NULL) { -- cgit 1.4.1-2-gfad0