diff options
Diffstat (limited to 'cad/geda-gattrib/files/patch-src_gtkitementry_2_2.c')
-rw-r--r-- | cad/geda-gattrib/files/patch-src_gtkitementry_2_2.c | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/cad/geda-gattrib/files/patch-src_gtkitementry_2_2.c b/cad/geda-gattrib/files/patch-src_gtkitementry_2_2.c new file mode 100644 index 000000000000..29d2ae56b635 --- /dev/null +++ b/cad/geda-gattrib/files/patch-src_gtkitementry_2_2.c @@ -0,0 +1,28 @@ +--- src/gtkitementry_2_2.c.orig 2010-10-29 19:10:42.000000000 +0200 ++++ src/gtkitementry_2_2.c 2010-10-29 19:11:29.000000000 +0200 +@@ -156,7 +156,7 @@ 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_reset_im_context (GtkEntry *entry); + static void gtk_entry_recompute (GtkEntry *entry); + static void gtk_entry_get_cursor_locations (GtkEntry *entry, + CursorType type, +@@ -1830,16 +1830,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, |