Hi, On Tue, 2006-05-30 at 22:43 +0200, Andreas Tobler wrote: > >>> This really is a static function. Please keep it that way. > >> ld: Undefined symbols: > >> _cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable > >> > >> ? > > > > Yeah, that is strange. When do you get that? > > Well, we use it in gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c > and in gnu_java_awt_peer_gtk_ComponentGraphics.c. > > So for me it's only usable in gnu_java_awt_peer_gtk_ComponentGraphics.c > > I may don't understand it...
OK, we figured it out. This patch and a patch from Sven to implement ComponentGraphicsCopy crossed meaning that the cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable function is now indeed non-static. Which does mean that if we mark it as non-static it has to have a common function prototype in gtkpeer.h. Cheers, Mark
signature.asc
Description: This is a digitally signed message part