]> git.0d.be Git - empathy.git/commitdiff
Use new GtkTextView API to make EmpathyChat build with GSEAL enabled
authorXavier Claessens <xclaesse@gmail.com>
Fri, 11 Jun 2010 07:05:49 +0000 (17:05 +1000)
committerDanielle Madeley <danielle.madeley@collabora.co.uk>
Sat, 12 Jun 2010 00:07:20 +0000 (10:07 +1000)
libempathy-gtk/empathy-chat.c

index de36d6921bc605885aafb086bd4e622da6bfc897..ae78b52cb2f1bf06bba9791322ffab3f20aec7b7 100644 (file)
@@ -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;
                }