• Emmanuele Bassi's avatar
    Provide a fast path returning NULL when the limit is set to 0. · cbf6d898
    Emmanuele Bassi authored
    2006-11-16  Emmanuele Bassi  <ebassi@gnome.org>
    
    	* gtk/gtkrecentmanager.c: Provide a fast path returning
    	NULL when the limit is set to 0.
    
    	* gtk/gtkrecentchooserdefault.c:
    	* gtk/gtkrecentchoosermenu.c: Add the same fast path
    	inside the RecentChooser implementation; add a check
    	in the list clamping code. (#373466 and duplicates)
    cbf6d898
gtkrecentchooserdefault.c 57.9 KB