GNOME Bugzilla – Bug 624333
Deprecate GtkRecentManager:limit
Last modified: 2011-02-04 16:12:18 UTC
the :limit property of GtkRecentManager does not serve any useful purpose: the length of the list should be managed by the view (implementing GtkRecentChooser), and not by the model (the recent manager). ideally, the :limit property should just be deprecated and have no effect in gtk-2-22, and be removed in 2.90.
Created attachment 165886 [details] [review] Deprecate GtkRecentManager:limit
Review of attachment 165886 [details] [review]: wow, that was fast - I branched off to do this myself :-) looks good, except for a minor nag. feel free to commit. ::: gtk/gtkrecentmanager.c @@ +659,3 @@ + * length of the list should be managed by the view (implementing + * Deprecated: 2.22: #GtkRecenManager::limit property is deprecated. The + * it should also say: "setting this property does not have any effect". and the notation for properties is #ObjectClass:property.
Comment on attachment 165886 [details] [review] Deprecate GtkRecentManager:limit committed with you comments: master 678e738f8dce754ae4b415dfb7ec70abc38e0083 commit 838dfd50acc70c233882cf1af9bc69401b51752c
Property removed in master commit cfa241a8912b9a5c483b3cf0c6e11d6722651b3c
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.
678e738f8dce754ae4b415dfb7ec70abc38e0083 says "GtkRecenManager" (missing a "t") into two places.
typo fixed in gtk-2-22