see previous commit, forgot 'git add'..
authorkremlin <ian@kremlin.cc>
Thu, 26 Jun 2014 02:17:03 +0000 (21:17 -0500)
committerkremlin <ian@kremlin.cc>
Thu, 26 Jun 2014 02:17:03 +0000 (21:17 -0500)
Makefile
src/config.c
src/main.c

index 342c3bf57249b4b65772aee556d408a03395effd..e7d247f5222862556a2548555b649ce4c36907f0 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ CFLAGS=-Wall -Wextra -Werror
 DEBUGF=-O0 -v -g
 SRCDIR=src
 INTFDIR=$(SRCDIR)/interfaces
-SANITY=-Wno-unused-variable -Wno-unused-parameter
+SANITY=-Wno-unused-variable -Wno-unused-parameter -Wno-comment
 
 GLIBF=`pkg-config --cflags --libs glib-2.0 gobject-2.0 gio-2.0 gio-unix-2.0`
 
index 2d761065b961ff5e9ad4b4494d2b2c2ebe54d85b..2f8a76bc5c9d23470441c77e954e01c7261ae48c 100644 (file)
@@ -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
                
index da8cdc68333c80aea24f55ce82985edae9d2037b..a592502631d4910631567bb44c4abd08ebbd392b 100644 (file)
@@ -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;
 }