[gtkada] gtk_entry_reset_im_context and GTK+ 2.21

Björn Persson bjorn at xn--rombobjrn-67a.se
Wed Jun 23 22:52:40 CEST 2010


Arnaud Charlet wrote:
> > GTKada 2.14.0 fails to build against GTK+ 2.21 in what will become Fedora
> > 14.
> 
> Right, there's a known incompatibility, which is fixed in the GtkAda svn,
> I'd suggest you take a look at wwhat was done there.

You mean revision 152516, committed on November 19 2009?
http://libre2.adacore.com/viewvc/trunk/GtkAda/src/gtkextra/gtkitementry.c?r1=107742&r2=152516

That's not what I'm talking about. I applied that patch, and the build still 
fails on the same declaration:
gtkitementry.c:152: 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

This is a new incompatibility. It's not present in GTK+ 2.20 (which is in 
Fedora 13). It's been introduced in GTK+ 2.21, which as far as I understand is 
a development version that will become release 2.22.

gtk_entry_reset_im_context was added to GTK+ in the following commit:

    commit 7692a427a6d27f438e18dc3555a91eef2f4205ff
    Author: Javier Jardón
    Date:   Wed May 5 01:16:55 2010 +0200
    
        Added api to reset the im context in GtkTextView and GtkEntry
        
        Also, added api to allow an input method to internally handle
        key press and release events in the GtkTextView and GtkEntry
        cases.
        This is simply a wrapper to the gtk_im_context_filter_keypress()
        function, but It's added to not access the ->im_context
        directly.
        Based on a Christian Dywan patch
        
        Fixes https://bugzilla.gnome.org/show_bug.cgi?id=163251

Björn Persson
-------------- 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/20100623/0560bd65/attachment.pgp 


More information about the gtkada mailing list