diff options
author | William Jon McCann <william.jon.mccann@gmail.com> | 2013-07-08 16:42:44 -0400 |
---|---|---|
committer | William Jon McCann <william.jon.mccann@gmail.com> | 2013-07-09 09:38:52 -0400 |
commit | 6218fb45be163fad06cf9dc6d80f278a6213b60b (patch) | |
tree | 7a9c8acdcb104b453615e0f0a2d7640e52988ff6 /gtk/gtkrecentchooser.c | |
parent | d0a2e06c7de6d94c77340101809b3e9eb70d9c4e (diff) | |
download | gtk+-6218fb45be163fad06cf9dc6d80f278a6213b60b.tar.gz |
Deprecate and hardcode gtk-recent-files-limit
The GtkRecentChooser already has a property that can be used
to set this on a per widget basis and the recent manager already
has a max-age limit.
Diffstat (limited to 'gtk/gtkrecentchooser.c')
-rw-r--r-- | gtk/gtkrecentchooser.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/gtk/gtkrecentchooser.c b/gtk/gtkrecentchooser.c index c5e151fb31..32f409d886 100644 --- a/gtk/gtkrecentchooser.c +++ b/gtk/gtkrecentchooser.c @@ -220,10 +220,7 @@ gtk_recent_chooser_default_init (GtkRecentChooserInterface *iface) * GtkRecentChooser:limit: * * The maximum number of recently used resources to be displayed, - * or -1 to display all items. By default, the - * GtkSetting:gtk-recent-files-limit setting is respected: you can - * override that limit on a particular instance of #GtkRecentChooser - * by setting this property. + * or -1 to display all items. * * Since: 2.10 */ @@ -233,7 +230,7 @@ gtk_recent_chooser_default_init (GtkRecentChooserInterface *iface) P_("The maximum number of items to be displayed"), -1, G_MAXINT, - -1, + 50, GTK_PARAM_READWRITE)); /** * GtkRecentChooser:sort-type: |