GtkSharp.CellRenderer.gtksharp_cellrenderer_base_get_size: adjust loop exit
This commit is contained in:
parent
87bdffacc7
commit
fb33b67d25
1 changed files with 3 additions and 2 deletions
|
@ -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 a new issue