Re: [Java-gnome-developer] Problem with MozEmbed.handleProgressAll
Brought to you by:
afcowie
From: Remy S. <rem...@gm...> - 2006-02-14 12:21:47
|
Hi there, Please refer to http://bugzilla.gnome.org/show_bug.cgi?id=318944 for some information on the issue. In essence, the code was originally using a Handle as a parameter. However, I believe it was while Ismael was committing a patch that I had submitted that he came to realize that the examples didn't work for him, so he changed the callback to accept a String instead. After the fact, it stopped working for me, which I spoke to him about, and we are both pretty confused as to why it's like so. I did not mention this in the bug, but the version in which it does not work for me is Firefox 1.0.7 (that's not to say 1.0.6 and before it was all fine for me with using a String, I can't say I remember if I tried the bindings back then). In the 1.5 file, it appears to explicitly state String (GTK_TYPE_STRING | G_SIGNAL_TYPE_STATIC_SCOPE) whereas the 1.0.7 file just says G_POINTER. Regards, Rem On Tue, 14 Feb 2006 12:32:00 +0100 Andrzej Bialecki <ab...@ge...> wrote: > Hello, > > I'm trying to compile and run the TestMoz example, on Fedora Core 5 > beta2. I needed some features from PixBuf, so I had to upgrade all > java-gnome libraries to their latest CVS versions. > > SelfLoadingMoz works flawlessly. But when I try to run the TestMoz > example, it complains with the following exception: > > java.lang.Exception: Java-GNOME - cannot find callback method > handleProgressAll in the specified object with signature > (Lorg/gnu/glib/Handle;II)V > > This happens when MozEmbed tries to register the NetListener. Any > help would be highly appreciated - in my application I need to track > the net_stop event, so that working listeners are rather > important... ;-) > > Thank you! > > -- > Best regards, > Andrzej Bialecki <>< > ___. ___ ___ ___ _ _ __________________________________ > [__ || __|__/|__||\/| Information Retrieval, Semantic Web > ___|||__|| \| || | Embedded Unix, System Integration > http://www.sigram.com Contact: info at sigram dot com > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through > log files for problems? Stop! Download the new AJAX search engine > that makes searching your log files as easy as surfing the web. > DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ java-gnome-developer > mailing list jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer |