[gtkmm] Remove RecentManager::get/set_limit() and the property.



commit 870c1c42e0bc8e97fe7dc7307cdfed475096abac
Author: Murray Cumming <murrayc murrayc com>
Date:   Thu Jul 15 15:44:56 2010 +0200

    Remove RecentManager::get/set_limit() and the property.
    
    * gtk/src/gtk_methods.defs:
    * gtk/src/gtk_signals.defs:
    * gtk/src/recentmanager.hg: Remove this API that wrapped the API recently
    removed from GTK+.

 ChangeLog                |    9 +++++++++
 gtk/src/gtk_methods.defs |   15 ---------------
 gtk/src/gtk_signals.defs |    9 ---------
 gtk/src/recentmanager.hg |    3 ---
 4 files changed, 9 insertions(+), 27 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 774c942..297e320 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2010-07-15  Murray Cumming  <murrayc murrayc com>
+
+	Remove RecentManager::get/set_limit() and the property.
+
+	* gtk/src/gtk_methods.defs:
+	* gtk/src/gtk_signals.defs:
+	* gtk/src/recentmanager.hg: Remove this API that wrapped the API recently 
+	removed from GTK+.
+
 2010-07-14  Murray Cumming  <murrayc murrayc com>
 
 	Removed Notebook::pages() and Table::children().
diff --git a/gtk/src/gtk_methods.defs b/gtk/src/gtk_methods.defs
index 1e7bbf1..715202a 100644
--- a/gtk/src/gtk_methods.defs
+++ b/gtk/src/gtk_methods.defs
@@ -16758,21 +16758,6 @@
   (return-type "gboolean")
 )
 
-(define-method set_limit
-  (of-object "GtkRecentChooser")
-  (c-name "gtk_recent_chooser_set_limit")
-  (return-type "none")
-  (parameters
-    '("gint" "limit")
-  )
-)
-
-(define-method get_limit
-  (of-object "GtkRecentChooser")
-  (c-name "gtk_recent_chooser_get_limit")
-  (return-type "gint")
-)
-
 (define-method set_local_only
   (of-object "GtkRecentChooser")
   (c-name "gtk_recent_chooser_set_local_only")
diff --git a/gtk/src/gtk_signals.defs b/gtk/src/gtk_signals.defs
index 41e6dbf..50617d7 100644
--- a/gtk/src/gtk_signals.defs
+++ b/gtk/src/gtk_signals.defs
@@ -32207,15 +32207,6 @@
   (construct-only #t)
 )
 
-(define-property limit
-  (of-object "GtkRecentManager")
-  (prop-type "GParamInt")
-  (docs "The maximum number of items to be returned by gtk_recent_manager_get_items()")
-  (readable #t)
-  (writable #t)
-  (construct-only #f)
-)
-
 (define-property size
   (of-object "GtkRecentManager")
   (prop-type "GParamInt")
diff --git a/gtk/src/recentmanager.hg b/gtk/src/recentmanager.hg
index 6101636..b47d9e7 100644
--- a/gtk/src/recentmanager.hg
+++ b/gtk/src/recentmanager.hg
@@ -121,8 +121,6 @@ public:
   _WRAP_METHOD(Glib::RefPtr<const RecentInfo> lookup_item(const Glib::ustring& uri) const, gtk_recent_manager_lookup_item, errthrow)
   _WRAP_METHOD(bool has_item(const Glib::ustring& uri) const, gtk_recent_manager_has_item)
   _WRAP_METHOD(bool move_item(const Glib::ustring& uri, const Glib::ustring& new_uri), gtk_recent_manager_move_item, errthrow)
-  _WRAP_METHOD(void set_limit(int limit), gtk_recent_manager_set_limit)
-  _WRAP_METHOD(int get_limit() const, gtk_recent_manager_get_limit)
 
   typedef Glib::ListHandle<RecentInfo, RecentInfoTraits> ListHandle_RecentInfos;
   _CONVERSION(`GList*',`ListHandle_RecentInfos',__FL2H_SHALLOW)
@@ -139,7 +137,6 @@ public:
   _WRAP_SIGNAL(void changed(), "changed")
 
   _WRAP_PROPERTY("filename", Glib::ustring)
-  _WRAP_PROPERTY("limit", int)
   _WRAP_PROPERTY("size", int)
 };
 



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