[empathy: 2/5] Use new GtkTextView API to make EmpathyChat build with GSEAL enabled
- From: Danielle Madeley <daniellem src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy: 2/5] Use new GtkTextView API to make EmpathyChat build with GSEAL enabled
- Date: Tue, 15 Jun 2010 11:44:02 +0000 (UTC)
commit 9e495e95ae426f691c8682285b698f84e0a942d3
Author: Xavier Claessens <xclaesse gmail com>
Date: Fri Jun 11 17:05:49 2010 +1000
Use new GtkTextView API to make EmpathyChat build with GSEAL enabled
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 de36d69..ae78b52 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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]