GNOME Bugzilla – Bug 615660
Missing API for GSEAL
Last modified: 2010-05-03 09:55:59 UTC
I'm trying to build empathy with GSEAL enabled. It seems some APIs are missing on GtkTextView: 1) gtk_text_view_get_v/hadjustment() to access GtkTextView->v/hadjustment. I worked around that by taking the text view's parent widget and if GTK_IS_SCROLLED_WINDOW() then I take the adjustments from it. Is that correct way to do? 2) gtk_text_view_get_im_context() and gtk_text_view_set_need_im_reset(): Those are used by a hack copied from gaim a long time ago. See that Gaim bug for details: http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=104299. The problem is when handling ENTER key-press, the IM could need to finish some Chineese character, if not then we have to send the message in empathy. See the code: http://git.gnome.org/browse/empathy/tree/libempathy-gtk/empathy-chat.c#n1454
Hello Xavier, for the second case take a look to bug #163251
Also, Did you read my comments in the empathy bug? https://bugzilla.gnome.org/show_bug.cgi?id=586476#c16
(In reply to comment #0) > 2) gtk_text_view_get_im_context() and gtk_text_view_set_need_im_reset(): Those > are used by a hack copied from gaim a long time ago. See that Gaim bug for > details: http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=104299. The > problem is when handling ENTER key-press, the IM could need to finish some > Chineese character, if not then we have to send the message in empathy. See the > code: > http://git.gnome.org/browse/empathy/tree/libempathy-gtk/empathy-chat.c#n1454 It could be related/dup of bugs #163251 and #592405. But I let GTK experts judge :)
Looking closer to those 2 bugs, it really seems this one is dup. *** This bug has been marked as a duplicate of bug 592405 ***