2004-02-12 Mike Kestner <mkestner@ximian.com>

* gtk/Accel.custom : s/List/SList
	* gtk/Stock.custom : ditto
	* gtk/TextIter.custom : ditto

svn path=/trunk/gtk-sharp/; revision=23029
This commit is contained in:
Mike Kestner 2004-02-12 16:51:25 +00:00
parent d39ef22678
commit 6ea443884a
4 changed files with 11 additions and 5 deletions

View File

@ -1,3 +1,9 @@
2004-02-12 Mike Kestner <mkestner@ximian.com>
* gtk/Accel.custom : s/List/SList
* gtk/Stock.custom : ditto
* gtk/TextIter.custom : ditto
2004-02-12 Zoltan Varga <vargaz@freemail.hu>
* glib/time_t_CustomMarshaler.cs: Update after custom marshaling

View File

@ -12,7 +12,7 @@
IntPtr raw_ret = gtk_accel_groups_from_object(obj.Handle);
if (raw_ret == IntPtr.Zero)
return new AccelGroup [0];
GLib.List list = new GLib.List(raw_ret);
GLib.SList list = new GLib.SList(raw_ret);
AccelGroup[] result = new AccelGroup [list.Count];
for (int i = 0; i < list.Count; i++)
result [i] = list [i] as AccelGroup;

View File

@ -12,7 +12,7 @@
IntPtr raw_ret = gtk_stock_list_ids ();
if (raw_ret == IntPtr.Zero)
return new string [0];
GLib.List list = new GLib.List(raw_ret, typeof (string));
GLib.SList list = new GLib.SList(raw_ret, typeof (string));
string[] result = new string [list.Count];
for (int i = 0; i < list.Count; i++)
result [i] = (string) list [i];

View File

@ -12,7 +12,7 @@
IntPtr raw_ret = gtk_text_iter_get_marks (ref this);
if (raw_ret == IntPtr.Zero)
return new TextMark [0];
GLib.List list = new GLib.List(raw_ret);
GLib.SList list = new GLib.SList(raw_ret);
TextMark[] result = new TextMark [list.Count];
for (int i = 0; i < list.Count; i++)
result [i] = list [i] as TextMark;
@ -28,7 +28,7 @@
IntPtr raw_ret = gtk_text_iter_get_tags (ref this);
if (raw_ret == IntPtr.Zero)
return new TextTag [0];
GLib.List list = new GLib.List(raw_ret);
GLib.SList list = new GLib.SList(raw_ret);
TextTag[] result = new TextTag [list.Count];
for (int i = 0; i < list.Count; i++)
result [i] = list [i] as TextTag;
@ -44,7 +44,7 @@
IntPtr raw_ret = gtk_text_iter_get_toggled_tags (ref this, toggled_on);
if (raw_ret == IntPtr.Zero)
return new TextTag [0];
GLib.List list = new GLib.List(raw_ret);
GLib.SList list = new GLib.SList(raw_ret);
TextTag[] result = new TextTag [list.Count];
for (int i = 0; i < list.Count; i++)
result [i] = list [i] as TextTag;