summaryrefslogtreecommitdiff
path: root/openbox/menu.c
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@comhem.se>2007-07-17 02:48:16 +0200
committerMikael Magnusson <mikachu@comhem.se>2007-07-17 02:48:16 +0200
commit77baf26a7f2f64ddf1274035fd4991ab17345904 (patch)
tree1b7719e8dd6785bbedca505c53ce3cfcf398fff0 /openbox/menu.c
parente5a797f10d61e33f5d02c2d276f615ea3a00793f (diff)
remove trailing whitespace
Diffstat (limited to 'openbox/menu.c')
-rw-r--r--openbox/menu.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/openbox/menu.c b/openbox/menu.c
index b49177ba..b69b7a3b 100644
--- a/openbox/menu.c
+++ b/openbox/menu.c
@@ -111,7 +111,7 @@ void menu_startup(gboolean reconfig)
g_message(_("Unable to find a valid menu file '%s'"),
"menu.xml");
}
-
+
g_assert(menu_parse_state.parent == NULL);
if (!reconfig)
@@ -198,7 +198,7 @@ static ObMenu* menu_from_name(gchar *name)
g_message(_("Attempted to access menu '%s' but it does not exist"),
name);
return self;
-}
+}
#define VALID_SHORTCUT(c) (((c) >= '0' && (c) <= '9') || \
((c) >= 'A' && (c) <= 'Z') || \
@@ -209,7 +209,7 @@ static gunichar parse_shortcut(const gchar *label, gboolean allow_shortcut,
gboolean *always_show)
{
gunichar shortcut = 0;
-
+
*position = 0;
*always_show = FALSE;
@@ -268,7 +268,7 @@ static void parse_menu_item(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node,
{
ObMenuParseState *state = data;
gchar *label;
-
+
if (state->parent) {
if (parse_attr_string("label", node, &label)) {
GSList *acts = NULL;