[gtkada] Problem with Klokka and GtkAda 2.0
Preben Randhol
randhol at pvv.org
Sun Mar 16 17:21:41 CET 2003
Hi
I just installed latest CVS (15. March) and gcc 3.2 on my Debian Linux.
I tried to compile my Klokka example to see if I had to do a lot of
porting.
The program compiles fine except that I get:
gtk-handlers.adb|347 col 10| warning: unrecognized pragma "Unreferenced"
gtk-handlers.adb|640 col 10| warning: unrecognized pragma "Unreferenced"
gtk-handlers.adb|993 col 10| warning: unrecognized pragma "Unreferenced"
gtk-handlers.adb|1342 col 10| warning: unrecognized pragma "Unreferenced"
gtk-marshallers.adb|223 col 13| warning: unrecognized pragma "Unreferenced"
gtk-marshallers.adb|453 col 13| warning: unrecognized pragma "Unreferenced"
gtk-marshallers.adb|668 col 13| warning: unrecognized pragma "Unreferenced"
gtk-marshallers.adb|883 col 13| warning: unrecognized pragma "Unreferenced"
I have these two callbacks:
Return_Callback.Connect
(Gtk_Widget (Window), "delete_event",
Callbacks_Klokka.On_Window_Delete_Event'Access);
Event_Cb.Connect
(Gtk_Widget (Window.Drawing_Area), "expose_event",
Event_Cb.To_Marshaller (
On_Window_Expose_Event'Access));
The clock starts like before except that it won't paint the handles.
Could somebody try to compile it and see if they experience the same. I
have looked at the documentation, but I cannot figour out what I need to
change to get this to work.
The source can be found here: http://www.pvv.org/~randhol/Ada95/Klokka/
Thanks in advance
Preben
More information about the gtkada
mailing list