[Gtk-sharp-list] PATH for glade

Francis Brosnan Blazquez francis at aspl.es
Fri Sep 30 11:33:57 EDT 2005


El jue, 29-09-2005 a las 22:52 -0300, Thiago Milczarek Sayão escribió:
Hi,

> I've attached an attempt of doing a patch for the glade parser.
> I think i've done it correcly, but it thows this exception when
> acessing WidgetInfo.Properties:
> 
> Unhandled Exception: System.NullReferenceException: Object reference
> not set to an instance of an object
> in <0x00000> <unknown method>
> in (wrapper managed-to-native)
> System.Object:__icall_wrapper_mono_string_new_wrapper (intptr)
> in (wrapper unknown) Glade.Property:PtrToStructure (intptr,object)
> in <0x00000> <unknown method>
> in (wrapper managed-to-native)
> System.Runtime.InteropServices.Marshal:PtrToStructure
> (intptr,System.Type)
> in <0x0005c> Glade.Property:New (IntPtr raw)
> in <0x00092> Glade.WidgetInfo:get_Properties ()
> in <0x00050> GladeUtil.GladeParser:ParseChild (WidgetInfo father)
> in <0x000d0> GladeUtil.GladeParser:.ctor (System.String file)
> in <0x0003a> GladeUtil.GladeParser:Main (System.String[] args)
> 
> Any ideas? I would be happy to fix it :)

I assume you already have read the bug filled at:
http://bugzilla.ximian.com/show_bug.cgi?id=75907

I've already implemented a patch for this issue but I didn't attached
the patch into the bugzilla because I haven't finished the API
documentation. Anyway, you can checkout current not-documented patch at:

http://dolphin.aspl.es/~acinom/

Cheers,
> 
> Thanks.
> 
> _______________________________________________
> Gtk-sharp-list maillist  -  Gtk-sharp-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
-- 
Francis Brosnan Blazquez <francis at aspl.es>
Advanced Software Production Line, S.L.



More information about the Gtk-sharp-list mailing list