mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-09-30 17:48:36 +02:00
GtkSharp.CellRenderer.gtksharp_cellrenderer_base_get_size: adjust loop exit
This commit is contained in:
parent
87bdffacc7
commit
fb33b67d25
@ -129,6 +129,7 @@ namespace Gtk
|
||||
var obj = TryGetObject (cell);
|
||||
var parent = obj.NativeType;
|
||||
while ((parent = parent.GetBaseType ()) != GLib.GType.None) {
|
||||
|
||||
if (parent.ToString ().StartsWith ("__gtksharp_")) {
|
||||
continue;
|
||||
}
|
||||
@ -156,10 +157,10 @@ namespace Gtk
|
||||
Marshal.FreeHGlobal (d);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user