gimp r26341 - in branches/soc-2008-tagging: . app/widgets
- From: aurisj svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r26341 - in branches/soc-2008-tagging: . app/widgets
- Date: Wed, 30 Jul 2008 19:26:17 +0000 (UTC)
Author: aurisj
Date: Wed Jul 30 19:26:17 2008
New Revision: 26341
URL: http://svn.gnome.org/viewvc/gimp?rev=26341&view=rev
Log:
2008-07-30 Aurimas JuÅka <aurisj svn gnome org>
* app/widgets/gimptagentry.c (gimp_tag_entry_dispose): free recently
used tags list.
Modified:
branches/soc-2008-tagging/ChangeLog
branches/soc-2008-tagging/app/widgets/gimptagentry.c
Modified: branches/soc-2008-tagging/app/widgets/gimptagentry.c
==============================================================================
--- branches/soc-2008-tagging/app/widgets/gimptagentry.c (original)
+++ branches/soc-2008-tagging/app/widgets/gimptagentry.c Wed Jul 30 19:26:17 2008
@@ -164,6 +164,13 @@
tag_entry->selected_items = NULL;
}
+ if (tag_entry->recent_list)
+ {
+ g_list_foreach (tag_entry->recent_list, (GFunc) g_free, NULL);
+ g_list_free (tag_entry->recent_list);
+ tag_entry->recent_list = NULL;
+ }
+
G_OBJECT_CLASS (parent_class)->dispose (object);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]