[libdazzle] menus: code style cleanup
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libdazzle] menus: code style cleanup
- Date: Fri, 1 Sep 2017 20:12:46 +0000 (UTC)
commit dcb3795076a569b2230c44d5f13de991b6743a35
Author: Christian Hergert <chergert redhat com>
Date: Fri Sep 1 13:12:30 2017 -0700
menus: code style cleanup
src/menus/dzl-menu-manager.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/menus/dzl-menu-manager.c b/src/menus/dzl-menu-manager.c
index cd16e8b..608db05 100644
--- a/src/menus/dzl-menu-manager.c
+++ b/src/menus/dzl-menu-manager.c
@@ -592,8 +592,10 @@ dzl_menu_manager_remove (DzlMenuManager *self,
i,
DZL_MENU_ATTRIBUTE_MERGE_ID,
"u", &item_merge_id))
- if (item_merge_id == merge_id)
- g_menu_remove (menu, i);
+ {
+ if (item_merge_id == merge_id)
+ g_menu_remove (menu, i);
+ }
}
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]