From a6aaabe62c3651169dda9a1a34bcec64dad4ee92 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 5 May 2007 23:54:04 +0000 Subject: change the --config-file to --config, which works differently.. change the _OPENBOX_RC root property to _OPENBOX_CONFIG which is also different. --- parser/parse.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'parser/parse.h') diff --git a/parser/parse.h b/parser/parse.h index 7aba2e45..7f273398 100644 --- a/parser/parse.h +++ b/parser/parse.h @@ -34,9 +34,11 @@ typedef void (*ParseCallback)(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node, ObParseInst* parse_startup(); void parse_shutdown(ObParseInst *inst); -/* Loads Openbox's rc, from the normal paths */ -gboolean parse_load_rc(const gchar *file, xmlDocPtr *doc, xmlNodePtr *root, - gchar **fileused); +/*! Loads Openbox's rc, from the normal paths + @type The configuration type to load, or NULL to use the default. + e.g. "gnome" would load rc-gnome.xml. + */ +gboolean parse_load_rc(const gchar *type, xmlDocPtr *doc, xmlNodePtr *root); /* Loads an Openbox menu, from the normal paths */ gboolean parse_load_menu(const gchar *file, xmlDocPtr *doc, xmlNodePtr *root); /* Loads an Openbox menu, from the normal paths */ -- cgit v1.2.3