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:
parent
ae0831faf8
commit
7460e71a96
2 changed files with 6 additions and 1 deletions
|
@ -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.
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue