1
0
Fork 0

Removed unused priority settings

This commit is contained in:
James Booth 2015-11-20 00:18:13 +00:00
parent 16fbdedceb
commit 548f9394be
5 changed files with 1 additions and 16 deletions

View File

@ -1482,7 +1482,7 @@ static struct cmd_t command_defs[] =
},
{ "/priority",
cmd_priority, parse_args, 1, 1, &cons_priority_setting,
cmd_priority, parse_args, 1, 1, NULL,
CMD_TAGS(
CMD_TAG_PRESENCE)
CMD_SYN(

View File

@ -280,12 +280,6 @@ prefs_set_inpblock(gint value)
_save_prefs();
}
gint
prefs_get_priority(void)
{
return g_key_file_get_integer(prefs, PREF_GROUP_PRESENCE, "priority", NULL);
}
gint
prefs_get_reconnect(void)
{

View File

@ -1604,13 +1604,6 @@ cons_autoping_setting(void)
}
}
void
cons_priority_setting(void)
{
gint priority = prefs_get_priority();
cons_show("Priority (/priority) : %d", priority);
}
void
cons_show_connection_prefs(void)
{

View File

@ -287,7 +287,6 @@ void cons_grlog_setting(void);
void cons_autoaway_setting(void);
void cons_reconnect_setting(void);
void cons_autoping_setting(void);
void cons_priority_setting(void);
void cons_autoconnect_setting(void);
void cons_inpblock_setting(void);
void cons_show_contact_online(PContact contact, Resource *resource, GDateTime *last_activity);

View File

@ -430,7 +430,6 @@ void cons_grlog_setting(void) {}
void cons_autoaway_setting(void) {}
void cons_reconnect_setting(void) {}
void cons_autoping_setting(void) {}
void cons_priority_setting(void) {}
void cons_autoconnect_setting(void) {}
void cons_inpblock_setting(void) {}