aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/gtkextra2/files/patch-gtkextra_gtkitementry.c
blob: 0810c5207b3a6f4ec785938df0c4ce694c48d230 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
--- gtkextra/gtkitementry.c.orig    2010-03-13 05:49:00 UTC
+++ gtkextra/gtkitementry.c
@@ -131,7 +131,6 @@ static void         gtk_entry_draw_curso
 static PangoLayout *gtk_entry_ensure_layout            (GtkEntry       *entry,
                                                         gboolean        include_preedit);
 static void         gtk_entry_queue_draw               (GtkEntry       *entry);
-static void         gtk_entry_reset_im_context         (GtkEntry       *entry);
 static void         gtk_entry_recompute                (GtkEntry       *entry);
 static void         gtk_entry_get_cursor_locations     (GtkEntry       *entry,
                            CursorType      type,
@@ -1755,16 +1754,6 @@ gtk_entry_queue_draw (GtkEntry *entry)
 }
 
 static void
-gtk_entry_reset_im_context (GtkEntry *entry)
-{
-  if (entry->need_im_reset)
-    {
-      entry->need_im_reset = 0;
-      gtk_im_context_reset (entry->im_context);
-    }
-}
-
-static void
 gtk_entry_get_cursor_locations (GtkEntry   *entry,
                CursorType  type,
                gint       *strong_x,