Re: [java-gnome-hackers] GtkWindow XID
Brought to you by:
afcowie
From: Goundy <go...@gm...> - 2009-10-25 13:49:55
|
Emmanuel Rodriguez wrote: > On Sun, Oct 25, 2009 at 2:57 PM, Goundy <go...@gm... > <mailto:go...@gm...>> wrote: > > Emmanuel Rodriguez wrote: > > > Are you sure then that eclipse is picking up the right > gtkjini.so file? > Did you install your new bindings? > > > Oh my! when I rebuild my branch, actually my method is being > erased as the GdkDrawable file gets replace by the new generated > one which doesn't contain my method. > I guess I have to edit the source .def file to keep my method right ? > > I think so, I haven't used the java-gnome bindings in a long time. > I wish that someone else that's using the bindings could help you :( > > -- > Emmanuel Rodriguez Okay thank you Emmanuel, you helped a lot :P Well, the generator is giving me: static final FIXME getXid(Drawable self) throws BlacklistedMethodError { throw new BlacklistedMethodError("long"); } and I have the following code in GdkDrawable.defs: (define-method get_xid (of-object "GdkDrawable") (c-name "gdk_x11_drawable_get_xid") (caller-owns-return #t) (return-type "long") ) Am I missing something here ? Thanks |