mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-02 13:04:42 +01:00
89ed7e0e9c
Added patch to build with gtk >= 2.21 Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
27 lines
1 KiB
Diff
27 lines
1 KiB
Diff
--- gtk+extra-2.1.2/gtkextra/gtkitementry.c 2010-03-13 02:49:00.000000000 -0300
|
|
+++ gtk+extra-2.1.2_patched/gtkextra/gtkitementry.c 2011-03-09 00:29:54.000000000 -0300
|
|
@@ -131,7 +131,6 @@
|
|
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 @@
|
|
}
|
|
|
|
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,
|