[glibmm] Gio: Menu: Add insert/append/prepend_section() with no label parameter.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glibmm] Gio: Menu: Add insert/append/prepend_section() with no label parameter.
- Date: Tue, 3 Sep 2013 21:42:55 +0000 (UTC)
commit 295bb0c0b54e4a16eda0e2033909fde70f46765f
Author: Murray Cumming <murrayc murrayc com>
Date: Tue Sep 3 23:40:07 2013 +0200
Gio: Menu: Add insert/append/prepend_section() with no label parameter.
* gio/src/menu.hg: Because the label may be NULL in C,
meaning that the sections will just be separated by spaces
instead of having titles in the menu.
Bug #702456 .
gio/src/menu.hg | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gio/src/menu.hg b/gio/src/menu.hg
index dd88b0f..fee1ddd 100644
--- a/gio/src/menu.hg
+++ b/gio/src/menu.hg
@@ -59,9 +59,9 @@ public:
_WRAP_METHOD(void prepend(const Glib::ustring& label, const Glib::ustring& detailed_action =
Glib::ustring()), g_menu_prepend)
_WRAP_METHOD(void append(const Glib::ustring& label, const Glib::ustring& detailed_action =
Glib::ustring()), g_menu_append)
- _WRAP_METHOD(void insert_section(int position, const Glib::ustring& label, const Glib::RefPtr<MenuModel>&
section), g_menu_insert_section)
- _WRAP_METHOD(void prepend_section(const Glib::ustring& label, const Glib::RefPtr<MenuModel>& section),
g_menu_prepend_section)
- _WRAP_METHOD(void append_section(const Glib::ustring& label, const Glib::RefPtr<MenuModel>& section),
g_menu_append_section)
+ _WRAP_METHOD(void insert_section(int position, const Glib::ustring& label{?}, const
Glib::RefPtr<MenuModel>& section), g_menu_insert_section)
+ _WRAP_METHOD(void prepend_section(const Glib::ustring& label{?}, const Glib::RefPtr<MenuModel>& section),
g_menu_prepend_section)
+ _WRAP_METHOD(void append_section(const Glib::ustring& label{?}, const Glib::RefPtr<MenuModel>& section),
g_menu_append_section)
_WRAP_METHOD(void insert_submenu(int position, const Glib::ustring& label, const Glib::RefPtr<MenuModel>&
submenu), g_menu_insert_submenu)
_WRAP_METHOD(void prepend_submenu(const Glib::ustring& label, const Glib::RefPtr<MenuModel>& submenu),
g_menu_prepend_submenu)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]