[java-gnome-hackers] EntryCompletion work
Brought to you by:
afcowie
From: Guillaume M. <res...@gm...> - 2009-06-24 19:22:37
|
I'm currently working on an implementation of the gtk_entry_completion_set_match_func() function but it still doesn't work. I got a warning during the code compilation and an error about a TreeIter assertion. Here is the compilation warning: GCC src/bindings/org/gnome/gtk/GtkEntryCompletionOverride.c src/bindings/org/gnome/gtk/GtkEntryCompletionOverride.c: In function ‘Java_org_gnome_gtk_GtkEntryCompletionOverride_gtk_1entry_1completion_1set_1match_1func’: src/bindings/org/gnome/gtk/GtkEntryCompletionOverride.c:76: attention : passing argument 2 of ‘gtk_entry_completion_set_match_func’ from incompatible pointer type And now the error when I try to use the implemented signal and methods: Exception in thread "main" org.gnome.glib.FatalError: Gtk-CRITICAL gtk_list_store_get_value: assertion `VALID_ITER (iter, list_store)' failed It appends when it tries to build the completion list so when the match_func is called. I attach a diff file to make you able to view my change. Maybe someone will find a way to fix the problem. 2009/6/17 Serkan Kaba <se...@ge...> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > It was forgotton because the signal was introduced in 2.12 and our defs > file was outdated. > > - -- > Sincerely, > Serkan KABA > Gentoo Developer > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.11 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iEYEARECAAYFAko4YMIACgkQRh6X64ivZaI3sgCfVUx9NJ0U3DBcMCA6OjuUdvh3 > uVIAn0bog7Zc7HQYpgttBJbxFW3StAoo > =C9TQ > -----END PGP SIGNATURE----- > > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > java-gnome-hackers mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-gnome-hackers > -- Guillaume Mazoyer (Respawner) - http://www.respawner.fr/ -- Guillaume Mazoyer (Respawner) - http://www.respawner.fr/ |