summaryrefslogtreecommitdiff
path: root/gio/src/menumodel.ccg
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2016-02-26 22:46:55 +0100
committerMurray Cumming <murrayc@murrayc.com>2016-02-26 22:46:55 +0100
commite1eb5c1d651a8906074feda2d2a0ad103e838949 (patch)
treee387d5498d9c2dd53170126b3497b28c25c5d47a /gio/src/menumodel.ccg
parentdc111022570a417f396b81cdaef1a5db58022017 (diff)
downloadglibmm-e1eb5c1d651a8906074feda2d2a0ad103e838949.tar.gz
Run clang-format on the .ccg files.
This seems to work.
Diffstat (limited to 'gio/src/menumodel.ccg')
-rw-r--r--gio/src/menumodel.ccg20
1 files changed, 7 insertions, 13 deletions
diff --git a/gio/src/menumodel.ccg b/gio/src/menumodel.ccg
index 5d6612eb..48b9b2bb 100644
--- a/gio/src/menumodel.ccg
+++ b/gio/src/menumodel.ccg
@@ -23,26 +23,20 @@ namespace Gio
{
// Make sure the order here is the same order as in Gio::MenuAttribute.
-static const char* const _attribute_strings[] =
-{
- G_MENU_ATTRIBUTE_ACTION,
- G_MENU_ATTRIBUTE_LABEL,
- G_MENU_ATTRIBUTE_TARGET
-};
+static const char* const _attribute_strings[] = { G_MENU_ATTRIBUTE_ACTION, G_MENU_ATTRIBUTE_LABEL,
+ G_MENU_ATTRIBUTE_TARGET };
-const char* giomm_get_menu_attribute(MenuAttribute attribute)
+const char*
+giomm_get_menu_attribute(MenuAttribute attribute)
{
return _attribute_strings[attribute];
}
// Make sure the order here is the same order as in Gio::MenuLink.
-static const char* const _link_strings[] =
-{
- G_MENU_LINK_SECTION,
- G_MENU_LINK_SUBMENU
-};
+static const char* const _link_strings[] = { G_MENU_LINK_SECTION, G_MENU_LINK_SUBMENU };
-const char* giomm_get_menu_link(MenuLink link)
+const char*
+giomm_get_menu_link(MenuLink link)
{
return _link_strings[link];
}