diff --git a/ChangeLog b/ChangeLog index fc859006b..6319fb126 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-08-04 Mike Kestner + + * gtk/IconTheme.custom: elements and the list returned by + ListIcons are owned. + 2008-08-04 Mike Kestner * gtk/Gtk.metadata: mark IconTheme.LoadIcon return as owned. diff --git a/gtk/IconTheme.custom b/gtk/IconTheme.custom index 089f7bc7a..709b092c9 100644 --- a/gtk/IconTheme.custom +++ b/gtk/IconTheme.custom @@ -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)