After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 418673 - gtk_recent_manager_add_item
gtk_recent_manager_add_item
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Class: GtkRecent
2.10.x
Other All
: Normal minor
: ---
Assigned To: gtk-bugs
Emmanuele Bassi (:ebassi)
Depends on:
Blocks:
 
 
Reported: 2007-03-15 18:50 UTC by Morten Welinder
Modified: 2007-03-15 20:01 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Morten Welinder 2007-03-15 18:50:51 UTC
1. add_error is not used.

2. Using g_slice_new looks weird here.  A stack variable would do it.
Comment 1 Emmanuele Bassi (:ebassi) 2007-03-15 20:01:24 UTC
fixed in trunk, and also backported to the stable branch.

2007-03-15  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkrecentmanager.c (gtk_recent_manager_add_item): Remove
	unused GError; do not allocate GtkRecentData and use a variable
	on the stack. (#418673, Morten Welinder)