From bdfc07a804d787bdee7ec671bcc397517de3de7c Mon Sep 17 00:00:00 2001 From: infirit Date: Mon, 3 Aug 2015 21:39:19 +0200 Subject: Remove unused reset_im_context function Builds now with GSEAL_ENABLE --- pluma/pluma-view.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/pluma/pluma-view.c b/pluma/pluma-view.c index 58b5b2ee..55dc9671 100644 --- a/pluma/pluma-view.c +++ b/pluma/pluma-view.c @@ -2110,19 +2110,6 @@ search_highlight_updated_cb (PlumaDocument *doc, } } -#if !GTK_CHECK_VERSION (3, 0, 0) -/* There is no "official" way to reset the im context in GtkTextView */ -static void -reset_im_context (GtkTextView *text_view) -{ - if (text_view->need_im_reset) - { - text_view->need_im_reset = FALSE; - gtk_im_context_reset (text_view->im_context); - } -} -#endif - static void delete_line (GtkTextView *text_view, gint count) -- cgit v1.2.1