[gtkmm] MenuShell: bind_model(): Make a parameter optional.



commit 4db8d416fb9d84b061de1f46a99697473914a1f1
Author: Murray Cumming <murrayc murrayc com>
Date:   Mon Jul 22 13:45:30 2013 +0200

    MenuShell: bind_model(): Make a parameter optional.
    
    gmmproc will now generate a method overload without the
    action_namespace parameter.

 gtk/src/menushell.hg |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/src/menushell.hg b/gtk/src/menushell.hg
index 233cad1..188269d 100644
--- a/gtk/src/menushell.hg
+++ b/gtk/src/menushell.hg
@@ -120,7 +120,7 @@ public:
   _WRAP_METHOD(Widget* get_parent_shell(), gtk_menu_shell_get_parent_shell)
   _WRAP_METHOD(const Widget* get_parent_shell() const, gtk_menu_shell_get_parent_shell)
 
-  _WRAP_METHOD(void bind_model(const Glib::RefPtr<Gio::MenuModel>& model, const Glib::ustring& 
action_namespace,  bool with_separators), gtk_menu_shell_bind_model)
+  _WRAP_METHOD(void bind_model(const Glib::RefPtr<Gio::MenuModel>& model, const Glib::ustring& 
action_namespace{?}, bool with_separators), gtk_menu_shell_bind_model)
 
   _WRAP_PROPERTY("take-focus", bool)
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]