diff options
author | Xavier Claessens <xclaesse@gmail.com> | 2010-06-11 15:05:49 +0800 |
---|---|---|
committer | Danielle Madeley <danielle.madeley@collabora.co.uk> | 2010-06-12 08:07:20 +0800 |
commit | 9e495e95ae426f691c8682285b698f84e0a942d3 (patch) | |
tree | 383c25d7b2249de4140e069dea29642f32a23ba2 /libempathy-gtk/empathy-chat.c | |
parent | 702b642ccb80a59f204d9283993653495668df1c (diff) | |
download | gsoc2013-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/empathy-chat.c')
-rw-r--r-- | libempathy-gtk/empathy-chat.c | 4 |
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; } |