projects
/
systembsd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
see previous commit, forgot 'git add'..
[systembsd.git]
/
src
/
config.c
diff --git
a/src/config.c
b/src/config.c
index 54003faaed3e018e75362ebc3af09f49423ee9d6..2f8a76bc5c9d23470441c77e954e01c7261ae48c 100644
(file)
--- 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 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",
static const gchar *CONFIG_KEYS[] = {
"PrettyHostname",
"IconName",
@@
-122,6
+124,7
@@
gboolean config_init() {
g_printf("could not read config at %s! exiting..", config_path);
return FALSE;
}
g_printf("could not read config at %s! exiting..", config_path);
return FALSE;
}
+}
gboolean init_xml() {
gboolean init_xml() {
@@
-147,11
+150,11
@@
gboolean init_xml() {
return FALSE;
}
return FALSE;
}
- //set_xml_descriptors();
- return TRUE; //kill me!
+ set_xml_descriptors();
}
}
-}
-}
+ return TRUE; /* kill me! */
+} /* kill me too!*/
+
//LEFTOFF
/* gchar *posix_hostname;
//LEFTOFF
/* gchar *posix_hostname;
@@
-195,7
+198,7
@@
gboolean init_xml() {
return TRUE;
} */
return TRUE;
} */
-
/*
static void set_xml_descriptors() {
+static void set_xml_descriptors() {
}
}
@@
-205,4
+208,4
@@
void clean_config() {
g_free(config);
g_free(data_dir);
g_close(config_descr, NULL);
g_free(config);
g_free(data_dir);
g_close(config_descr, NULL);
-}
*/
+}