[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mono-gtk-sharp-list
Subject:    Re: [Gtk-sharp-list] PATH for glade
From:       Francis Brosnan Blazquez <francis () aspl ! es>
Date:       2005-09-30 15:33:57
Message-ID: 1128094437.4161.4.camel () vulcan ! aspl
[Download RAW message or body]

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@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
-- 
Francis Brosnan Blazquez <francis@aspl.es>
Advanced Software Production Line, S.L.

_______________________________________________
Gtk-sharp-list maillist  -  Gtk-sharp-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic