[gtkada] gtk_entry_reset_im_context and GTK+ 2.21

Björn Persson bjorn at xn--rombobjrn-67a.se
Mon Jun 21 23:14:10 CEST 2010


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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: GtkAda-2.14.0-GTK+-2.21.patch
Type: text/x-patch
Size: 1019 bytes
Desc: not available
Url : /pipermail/gtkada/attachments/20100621/b2630e31/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : /pipermail/gtkada/attachments/20100621/b2630e31/attachment.pgp 


More information about the gtkada mailing list