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 obj = TryGetObject (cell);
|
||||||
var parent = obj.NativeType;
|
var parent = obj.NativeType;
|
||||||
while ((parent = parent.GetBaseType ()) != GLib.GType.None) {
|
while ((parent = parent.GetBaseType ()) != GLib.GType.None) {
|
||||||
|
|
||||||
if (parent.ToString ().StartsWith ("__gtksharp_")) {
|
if (parent.ToString ().StartsWith ("__gtksharp_")) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
@ -156,10 +157,10 @@ namespace Gtk
|
||||||
Marshal.FreeHGlobal (d);
|
Marshal.FreeHGlobal (d);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue