[glibmm] Gio::Menu: Add remove_all().
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glibmm] Gio::Menu: Add remove_all().
- Date: Wed, 31 Jul 2013 09:38:49 +0000 (UTC)
commit ac76d8876270b367239fca7960129bf5dbb1eaf2
Author: Murray Cumming <murrayc murrayc com>
Date: Wed Jul 31 11:13:41 2013 +0200
Gio::Menu: Add remove_all().
gio/src/menu.hg | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gio/src/menu.hg b/gio/src/menu.hg
index d6e05e4..4c107ca 100644
--- a/gio/src/menu.hg
+++ b/gio/src/menu.hg
@@ -52,6 +52,7 @@ public:
_WRAP_METHOD(void prepend_item(const Glib::RefPtr<MenuItem>& item), g_menu_prepend_item)
_WRAP_METHOD(void append_item(const Glib::RefPtr<MenuItem>& item), g_menu_append_item)
_WRAP_METHOD(void remove(int position), g_menu_remove)
+ _WRAP_METHOD(void remove_all(), g_menu_remove_all)
//TODO: Allow label to be null.
_WRAP_METHOD(void insert(int position, const Glib::ustring& label, const Glib::ustring& detailed_action =
Glib::ustring()), g_menu_insert)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]