RE: [Java-gnome-developer] Problems using libglade with a GnomeAp p?
Brought to you by:
afcowie
From: Jeffrey M. <Jef...@Br...> - 2001-10-23 18:24:16
|
Sorry about that. CVS should compile now. The problem you were having is that you are using a widget of type GtkPixmapMenuItem in your glade file. Prior to today Java-GNOME did not have this widget. I have made the changes and checked into CVS. If you get the latest snapshot you should be able to run. You will need to define your callback methods in your class. Hope this helps -Jeff > > Jeff, > > I can't compile the CVS code. Here is my error: > > make gtk_jarfile gtk_nativelib > make[2]: Entering directory `/usr/src/other/java-gnome/src' > /usr/local/java/jdk/bin/javac -d . other/BaseBoxed.java > --snip-- > /usr/local/java/jdk/bin/javac -d . gnu/gtk/GtkTooltips.java > /usr/local/java/jdk/bin/javac -d . gnu/gtk/GtkCTree.java > /usr/local/java/jdk/bin/javac -d . gnu/gtk/GtkProgressBar.java > /usr/local/java/jdk/bin/javac -d . gnu/gtk/GtkCheckMenuItem.java > ./gnu/gtk/GtkMenuItem.java:147: activate() in > gnu.gtk.GtkMenuItem cannot > override activate() in gnu.gtk.GtkWidget; attempting to use > incompatible > return type > found : void > required: boolean > native public void activate (); > ^ > 1 error > make[2]: *** [gnu/gtk/GtkCheckMenuItem.class] Error 1 > make[2]: Leaving directory `/usr/src/other/java-gnome/src' > make[1]: *** [gtk] Error 2 > make[1]: Leaving directory `/usr/src/other/java-gnome/src' > make: *** [distro] Error 2 > > > On Mon, 2001-10-22 at 08:47, Jeffrey Morgan wrote: > > I believe I might be on to the problem. Can I > > get you to try one more thing? Can you please > > get the code from CVS and see if the problem > > exists? > |