[gtkmm/gtkmm-2-18] RecentAction: Fix the constructor that takes a RecentManager.



commit 2d2ac3ee74b7342b3c2f0125f1a6c62408c8352b
Author: Murray Cumming <murrayc murrayc com>
Date:   Tue Apr 6 13:13:16 2010 +0200

    RecentAction: Fix the constructor that takes a RecentManager.
    
    * gtk/src/recentaction.hg: Constructor: Rename the manager parameter to
        recent_manager, so that gmmproc generates code that uses the correct
        property name.
        This fixes bug #612900 (Morten Skaaning)

 ChangeLog               |    9 +++++++++
 gtk/src/recentaction.hg |    4 ++--
 2 files changed, 11 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 587ef49..ff8dcbc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
 2010-04-06  Murray Cumming  <murrayc murrayc com>
 
+    RecentAction: Fix the constructor that takes a RecentManager.
+
+	* gtk/src/recentaction.hg: Constructor: Rename the manager parameter to
+    recent_manager, so that gmmproc generates code that uses the correct 
+    property name.
+    This fixes bug #612900 (Morten Skaaning)
+
+2010-04-06  Murray Cumming  <murrayc murrayc com>
+
     TreeRowReference::get_model(): Correct the reference counting.
 
 	* gtk/src/treerowreference.hg: get_model(): Add a refreturn.
diff --git a/gtk/src/recentaction.hg b/gtk/src/recentaction.hg
index 309e2db..b76ae92 100644
--- a/gtk/src/recentaction.hg
+++ b/gtk/src/recentaction.hg
@@ -62,7 +62,7 @@ protected:
   //a) we want to be consistent with Action, ToggleAction, etc.
   //b) this allows us to use the StockID parameter to distinguish the create() overloads.
   _WRAP_CTOR(RecentAction(const Glib::ustring& name, const StockID& stock_id = StockID(), const Glib::ustring& label = Glib::ustring(), const Glib::ustring& tooltip = Glib::ustring()), gtk_recent_action_new)
-  _WRAP_CTOR(RecentAction(const Glib::ustring& name, const StockID& stock_id, const Glib::ustring& label, const Glib::ustring& tooltip, const Glib::RefPtr<RecentManager>& manager), gtk_recent_action_new_for_manager )
+  _WRAP_CTOR(RecentAction(const Glib::ustring& name, const StockID& stock_id, const Glib::ustring& label, const Glib::ustring& tooltip, const Glib::RefPtr<RecentManager>& recent_manager), gtk_recent_action_new_for_manager )
 
 public:
   //Note that gtk_recent_action_new() does not allow name to be NULL, which suggests that we should not have a default constructor,
@@ -71,7 +71,7 @@ public:
 
   static Glib::RefPtr<RecentAction> create(const Glib::ustring& name, const Glib::ustring& label = Glib::ustring(), const Glib::ustring& tooltip = Glib::ustring());
   _WRAP_CREATE(const Glib::ustring& name, const Gtk::StockID& stock_id, const Glib::ustring& label = Glib::ustring(), const Glib::ustring& tooltip = Glib::ustring())
-  _WRAP_CREATE(const Glib::ustring& name, const Gtk::StockID& stock_id, const Glib::ustring& label, const Glib::ustring& tooltip, const Glib::RefPtr<RecentManager>& manager)
+  _WRAP_CREATE(const Glib::ustring& name, const Gtk::StockID& stock_id, const Glib::ustring& label, const Glib::ustring& tooltip, const Glib::RefPtr<RecentManager>& recent_manager)
 
 
   _WRAP_METHOD(bool get_show_numbers(), gtk_recent_action_get_show_numbers)



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