Exemplo n.º 1
0
        // Compatibility code for old ChildType() virtual method
        static IntPtr ObsoleteChildType_cb(IntPtr raw)
        {
            try {
                Container  obj   = GLib.Object.GetObject(raw, false) as Container;
                GLib.GType gtype = obj.ChildType();
                return(gtype.Val);
            } catch (Exception e) {
                GLib.ExceptionManager.RaiseUnhandledException(e, false);
            }

            return(GLib.GType.Invalid.Val);
        }