GtkSharp.CellRenderer.gtksharp_cellrenderer_base_get_size: adjust loop exit

This commit is contained in:
lytico 2020-04-21 18:54:32 +02:00
parent 87bdffacc7
commit fb33b67d25

View file

@ -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;
}
}
}