mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-09-09 00:13:20 +02:00
2004-04-13 Mike Kestner <mkestner@ximian.com>
* glib/Value.cs : fix a csc-breaker. svn path=/trunk/gtk-sharp/; revision=25437
This commit is contained in:
parent
3439b34bda
commit
3595f79bc3
@ -1,3 +1,7 @@
|
||||
2004-04-13 Mike Kestner <mkestner@ximian.com>
|
||||
|
||||
* glib/Value.cs : fix a csc-breaker.
|
||||
|
||||
2004-04-12 Mike Kestner <mkestner@ximian.com>
|
||||
|
||||
* gnome/Program.custom : add ArgumentException for app_id containing
|
||||
|
@ -166,13 +166,13 @@ namespace GLib {
|
||||
type = GType.Invalid;
|
||||
pad_1 = pad_2 = 0;
|
||||
|
||||
GType type = TypeConverter.LookupType (obj.GetType ());
|
||||
if (type == GType.None) {
|
||||
GType gtype = TypeConverter.LookupType (obj.GetType ());
|
||||
if (gtype == GType.None) {
|
||||
g_value_init (ref this, ManagedValue.GType.Val);
|
||||
} else if (type == GType.Object) {
|
||||
} else if (gtype == GType.Object) {
|
||||
g_value_init (ref this, ((GLib.Object) obj).NativeType.Val);
|
||||
} else {
|
||||
g_value_init (ref this, type.Val);
|
||||
g_value_init (ref this, gtype.Val);
|
||||
}
|
||||
|
||||
Val = obj;
|
||||
|
Loading…
Reference in New Issue
Block a user