2008-08-04 Mike Kestner <mkestner@novell.com>

* gtk/IconTheme.custom: elements and the list returned by
	ListIcons are owned.

svn path=/trunk/gtk-sharp/; revision=109619
This commit is contained in:
Mike Kestner 2008-08-04 21:08:40 +00:00
parent ae0831faf8
commit 7460e71a96
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2008-08-04 Mike Kestner <mkestner@novell.com>
* gtk/IconTheme.custom: elements and the list returned by
ListIcons are owned.
2008-08-04 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata: mark IconTheme.LoadIcon return as owned.

View file

@ -32,7 +32,7 @@
if (list_ptr == IntPtr.Zero)
return new string [0];
GLib.List list = new GLib.List (list_ptr, typeof (string));
GLib.List list = new GLib.List (list_ptr, typeof (string), true, true);
string[] result = new string [list.Count];
int i = 0;
foreach (string val in list)