[lazarus] lazarus svn r10351 and gtk2
After upgrade from svn (r10351) I can't compile lazarus anymore with command: make clean all LCL_PLATFORM=gtk2 In console output is this: ...snip... Compiling /home/barko/freepascal/lazarus/trunk/lcl/interfaces/gtk/gtkproc.pp gtkproc.inc(2272,15) Error: Illegal qualifier gtkproc.inc(2272,15) Fatal: Syntax error, ) expected but identifier VKEY found gtkproc.inc(36,17) Fatal: Compilation aborted make[3]: *** [interfaces.ppu] Error 1 ..snip... -- bye, ...s]-[it happens... -= OPINFOS d.o.o. -= OBRTNE IN POSLOVNE INFORMACIJE -= BARKO, SOFTWARE DEVELOPER FOR WINDOWS AND LINUX SYSTEMS -= http://www.opinfos.com _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] lazarus svn r10351 and gtk2
barko wrote: After upgrade from svn (r10351) I can't compile lazarus anymore with command: make clean all LCL_PLATFORM=gtk2 In console output is this: [...] Ran onto that one myself. I resolved it by applying some small changes to gtkproc.inc (see the patch). Stefan Index: lcl/interfaces/gtk/gtkproc.inc === --- lcl/interfaces/gtk/gtkproc.inc (revision 10351) +++ lcl/interfaces/gtk/gtkproc.inc (working copy) @@ -2269,10 +2269,10 @@ // = emulate it if GtkWidgetIsA(TargetWidget,gtk_type_entry) and (gdk_event_get_type(Event)=GDK_KEY_PRESS) -and (VKey.VKey=13) then begin +and (VKey^.VKey=13) then begin //DebugLn(['EmulateKeysEatenByGtk ']); FillChar(Msg,SizeOf(Msg),0); - Msg.CharCode := VKey.VKey; + Msg.CharCode := VKey^.VKey; if SysKey then Msg.msg := LM_SYSKEYDOWN else
Re: [lazarus] lazarus svn r10351 and gtk2
thanks On Wed, 27 Dec 2006 14:57:19 +0100, Stefan van den Berg [EMAIL PROTECTED] wrote: barko wrote: After upgrade from svn (r10351) I can't compile lazarus anymore with command: make clean all LCL_PLATFORM=gtk2 In console output is this: [...] Ran onto that one myself. I resolved it by applying some small changes to gtkproc.inc (see the patch). Stefan -- bye, ...s]-[it happens... -= OPINFOS d.o.o. -= OBRTNE IN POSLOVNE INFORMACIJE -= BARKO, SOFTWARE DEVELOPER FOR WINDOWS AND LINUX SYSTEMS -= http://www.opinfos.com _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives