diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/config.c | 7 | ||||
-rw-r--r-- | src/main.c | 6 |
2 files changed, 8 insertions, 5 deletions
diff --git a/src/config.c b/src/config.c index 2d76106..2f8a76b 100644 --- a/src/config.c +++ b/src/config.c @@ -34,6 +34,8 @@ static gchar **localed_ispect_xml, localed_dbus_xml; static gchar **timedated_ispect_xml, timedated_dbus_xml; static gchar **logind_ispect_xml, logind_dbus_xml; */ +static void set_xml_descriptors(); + static const gchar *CONFIG_KEYS[] = { "PrettyHostname", "IconName", @@ -148,9 +150,10 @@ gboolean init_xml() { return FALSE; } - //set_xml_descriptors(); + set_xml_descriptors(); } -} + return TRUE; /* kill me! */ +} /* kill me too!*/ //LEFTOFF @@ -36,13 +36,13 @@ gboolean systemd_utils_init() { g_printf("FAILED to install configs in %s!\n", tmp); return FALSE; } - /*if(!init_xml()) { - gchar **tmp; + if(!init_xml()) { + const gchar * const *tmp; tmp = g_get_system_data_dirs(); g_printf("FAILED to install xml configs in %s!\n", tmp[0]); return FALSE; - }*/ + } #endif return TRUE; } |