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

Made _save_prefs static

This commit is contained in:
James Booth 2012-05-10 10:12:02 +01:00
parent f621787e51
commit d32398bdf1

View File

@ -26,7 +26,7 @@
static GString *prefs_loc; static GString *prefs_loc;
static GKeyFile *prefs; static GKeyFile *prefs;
void _save_prefs(void); static void _save_prefs(void);
void prefs_load(void) void prefs_load(void)
{ {
@ -64,7 +64,7 @@ void prefs_set_flash(gboolean value)
_save_prefs(); _save_prefs();
} }
void _save_prefs(void) static void _save_prefs(void)
{ {
gsize g_data_size; gsize g_data_size;
char *g_prefs_data = g_key_file_to_data(prefs, &g_data_size, NULL); char *g_prefs_data = g_key_file_to_data(prefs, &g_data_size, NULL);