Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Education
gtkextra2
gtkitementry-gtk2.21.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gtkitementry-gtk2.21.patch of Package gtkextra2
Index: gtk+extra-2.1.2/gtkextra/gtkitementry.c =================================================================== --- gtk+extra-2.1.2.orig/gtkextra/gtkitementry.c +++ gtk+extra-2.1.2/gtkextra/gtkitementry.c @@ -131,7 +131,10 @@ 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); +#if GTK_MAJOR_VERSION >= 2 && GTK_MINOR_VERSION >= 21 +#else static void gtk_entry_reset_im_context (GtkEntry *entry); +#endif static void gtk_entry_recompute (GtkEntry *entry); static void gtk_entry_get_cursor_locations (GtkEntry *entry, CursorType type, @@ -1754,6 +1757,8 @@ gtk_entry_queue_draw (GtkEntry *entry) gdk_window_invalidate_rect (entry->text_area, NULL, FALSE); } +#if GTK_MAJOR_VERSION >= 2 && GTK_MINOR_VERSION >= 21 +#else static void gtk_entry_reset_im_context (GtkEntry *entry) { @@ -1763,6 +1768,7 @@ gtk_entry_reset_im_context (GtkEntry *en gtk_im_context_reset (entry->im_context); } } +#endif static void gtk_entry_get_cursor_locations (GtkEntry *entry,
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor