mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-23 17:55:27 +00:00
2004-11-04 Todd Berman <tberman@off.net>
* glib/ListBase.cs: Make sure to properly check if it is a GLib.Object subclass. svn path=/trunk/gtk-sharp/; revision=35654
This commit is contained in:
parent
fe6aad5317
commit
838882b81a
|
@ -1,3 +1,8 @@
|
|||
2004-11-04 Todd Berman <tberman@off.net>
|
||||
|
||||
* glib/ListBase.cs: Make sure to properly check if it is a
|
||||
GLib.Object subclass.
|
||||
|
||||
2004-11-04 Todd Berman <tberman@off.net>
|
||||
|
||||
* doc/en/GLib/ListBase.xml: Add documentation for ListBase.Empty
|
||||
|
|
|
@ -163,7 +163,7 @@ namespace GLib {
|
|||
{
|
||||
for (uint i = 0; i < Count; i++)
|
||||
{
|
||||
if (element_type == typeof (GLib.Object))
|
||||
if (typeof (GLib.Object).IsAssignableFrom (element_type))
|
||||
g_object_unref (NthData (i));
|
||||
else
|
||||
g_free (NthData (i));
|
||||
|
|
Loading…
Reference in a new issue