summaryrefslogtreecommitdiff
path: root/openbox/openbox.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-07-27 01:40:30 -0400
committerDana Jansens <danakj@orodu.net>2008-01-20 01:36:55 -0500
commitedeb0a2727dd9ca6fea0ba95dd87a48601da1304 (patch)
treeb1da1e50c242c1fb359a9a75bb93c7399f3e5e38 /openbox/openbox.c
parentfdabb69f4f25596df972caa76c85c2aeba26226e (diff)
add obt_parse_tree_from_root and use it, cuz it's nice
Diffstat (limited to 'openbox/openbox.c')
-rw-r--r--openbox/openbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/openbox.c b/openbox/openbox.c
index 2cab7e27..92d0bbf6 100644
--- a/openbox/openbox.c
+++ b/openbox/openbox.c
@@ -230,7 +230,7 @@ gint main(gint argc, gchar **argv)
if (obt_parse_load_config_file(i, "openbox", "rc.xml",
"openbox_config"))
{
- obt_parse_tree(i, obt_parse_instance_root(i)->children);
+ obt_parse_tree_from_root(i);
obt_parse_close(i);
} else
g_message(_("Unable to find a valid config file, using some simple defaults"));