aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2010-06-11 15:05:49 +0800
committerDanielle Madeley <danielle.madeley@collabora.co.uk>2010-06-12 08:07:20 +0800
commit9e495e95ae426f691c8682285b698f84e0a942d3 (patch)
tree383c25d7b2249de4140e069dea29642f32a23ba2 /libempathy-gtk
parent702b642ccb80a59f204d9283993653495668df1c (diff)
downloadgsoc2013-empathy-9e495e95ae426f691c8682285b698f84e0a942d3.tar
gsoc2013-empathy-9e495e95ae426f691c8682285b698f84e0a942d3.tar.gz
gsoc2013-empathy-9e495e95ae426f691c8682285b698f84e0a942d3.tar.bz2
gsoc2013-empathy-9e495e95ae426f691c8682285b698f84e0a942d3.tar.lz
gsoc2013-empathy-9e495e95ae426f691c8682285b698f84e0a942d3.tar.xz
gsoc2013-empathy-9e495e95ae426f691c8682285b698f84e0a942d3.tar.zst
gsoc2013-empathy-9e495e95ae426f691c8682285b698f84e0a942d3.zip
Use new GtkTextView API to make EmpathyChat build with GSEAL enabled
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-chat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c
index de36d6921..ae78b52cb 100644
--- a/libempathy-gtk/empathy-chat.c
+++ b/libempathy-gtk/empathy-chat.c
@@ -1559,8 +1559,8 @@ chat_input_key_press_event_cb (GtkWidget *widget,
*/
view = GTK_TEXT_VIEW (chat->input_text_view);
- if (gtk_im_context_filter_keypress (view->im_context, event)) {
- GTK_TEXT_VIEW (chat->input_text_view)->need_im_reset = TRUE;
+ if (gtk_text_view_im_context_filter_keypress (view, event)) {
+ gtk_text_view_reset_im_context (view);
return TRUE;
}