diff options
author | James Booth <boothj5@gmail.com> | 2013-11-07 22:20:30 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2013-11-07 22:20:30 +0000 |
commit | 2fa8da493e6f5f0afb1fe703c00dcd4041d8410d (patch) | |
tree | ee4ff1ca9f2ad98bba5101ed09285317e63e0c8e /src | |
parent | 99d3322834c337bd6de755665acc08472769b5bd (diff) | |
download | profani-tty-2fa8da493e6f5f0afb1fe703c00dcd4041d8410d.tar.gz |
Use correct type in account rename for priorities
fixes #250
Diffstat (limited to 'src')
-rw-r--r-- | src/config/accounts.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/config/accounts.c b/src/config/accounts.c index 3150686b..ff140769 100644 --- a/src/config/accounts.c +++ b/src/config/accounts.c @@ -350,15 +350,15 @@ accounts_rename(const char * const account_name, const char * const new_name) g_key_file_get_boolean(accounts, account_name, "enabled", NULL)); g_key_file_set_integer(accounts, new_name, "priority.online", - g_key_file_get_boolean(accounts, account_name, "priority.online", NULL)); + g_key_file_get_integer(accounts, account_name, "priority.online", NULL)); g_key_file_set_integer(accounts, new_name, "priority.chat", - g_key_file_get_boolean(accounts, account_name, "priority.chat", NULL)); + g_key_file_get_integer(accounts, account_name, "priority.chat", NULL)); g_key_file_set_integer(accounts, new_name, "priority.away", - g_key_file_get_boolean(accounts, account_name, "priority.away", NULL)); + g_key_file_get_integer(accounts, account_name, "priority.away", NULL)); g_key_file_set_integer(accounts, new_name, "priority.xa", - g_key_file_get_boolean(accounts, account_name, "priority.xa", NULL)); + g_key_file_get_integer(accounts, account_name, "priority.xa", NULL)); g_key_file_set_integer(accounts, new_name, "priority.dnd", - g_key_file_get_boolean(accounts, account_name, "priority.dnd", NULL)); + g_key_file_get_integer(accounts, account_name, "priority.dnd", NULL)); // copy other string properties int i; |