mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2025-02-28 20:56:55 +00:00
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:
parent
d39ef22678
commit
6ea443884a
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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];
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue