[gtkada] gtk_entry_reset_im_context and GTK+ 2.21

alex alejandro at mosteo.com
Tue Jun 22 14:28:21 CEST 2010


Björn Persson wrote:

> GTKada 2.14.0 fails to build against GTK+ 2.21 in what will become Fedora
> 14. The error is:
> 
> gtkitementry.c:134: error: static declaration of
> 'gtk_entry_reset_im_context' follows non-static declaration
> /usr/include/gtk-2.0/gtk/gtkentry.h:311: note: previous declaration of
> 'gtk_entry_reset_im_context' was here
> 
> Apparently the function gtk_entry_reset_im_context has been added to GTK+.
> The two functions look identical, and by removing the one in
> gtkitementry.c I got the build to work again. Does this patch look good to
> you guys?
> 
> Björn Persson

Just another data item; another error in gtkentry (some non-existent field 
in the C side) happens when trying to compile GtkAda in the latest Ubuntu 
10.04. For the moment I've worked it around using the gtk+ provided by 
Adacore.

Glad to know it is fixed in svn.





More information about the gtkada mailing list