From 6935b0b300a32537d49d96b3a1be393bbb5dfad2 Mon Sep 17 00:00:00 2001 From: "Ira W. Snyder" Date: Fri, 25 Jan 2008 23:51:01 -0800 Subject: [PATCH] Add the config system to main() This sets up and frees the config system in main(), which gets us set up to start querying the config system when we start a TildaTerminal or TildaWindow. --- tilda.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tilda.c b/tilda.c index 854520a..794618b 100644 --- a/tilda.c +++ b/tilda.c @@ -2,6 +2,7 @@ #include #include "tilda.h" +#include "tilda-config.h" #include "tilda-controller.h" #include "tomboykeybinder.h" @@ -155,6 +156,9 @@ int main (int argc, char *argv[]) /* Initialize the keybinder */ tomboy_keybinder_init (); + /* Initialize the configuration system */ + tilda_config_init ("FIXME"); + /* Start our connection to DBus */ tilda_dbus_init (); @@ -169,6 +173,9 @@ int main (int argc, char *argv[]) /* Unref the TildaController that controls this whole operation */ g_object_unref (G_OBJECT(tilda)); + /* Clean up after the config system */ + tilda_config_free (); + return 0; } -- 2.34.1