1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Applied coding style to src/config/

This commit is contained in:
James Booth 2015-10-25 22:23:38 +00:00
parent ea899aabee
commit 5863292094
6 changed files with 57 additions and 55 deletions

View File

@ -263,7 +263,8 @@ prefs_set_max_log_size(gint value)
_save_prefs();
}
gint prefs_get_inpblock(void)
gint
prefs_get_inpblock(void)
{
int val = g_key_file_get_integer(prefs, PREF_GROUP_UI, "inpblock", NULL);
if (val == 0) {
@ -273,7 +274,8 @@ gint prefs_get_inpblock(void)
}
}
void prefs_set_inpblock(gint value)
void
prefs_set_inpblock(gint value)
{
g_key_file_set_integer(prefs, PREF_GROUP_UI, "inpblock", value);
_save_prefs();