mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-11-11 09:55:40 +00:00
dded GTK3 draw handling while keeping GTK2 expose handling wrapped under #if !HAVE_GTK3 for the spell entry widget.
Updated gtk_entry_find_position to use GTK3-safe layout offsets and cursor position APIs while preserving GTK2-only field access behind #if !HAVE_GTK3.
This commit is contained in:
1 parent
e44e801e3a
commit
d8a8e6ce73
4 files changed
+61
-4
No files matched your search
+1
-1
@@ -1015,7 +1015,7 @@ gtk_xtext_realize (GtkWidget * widget)
|
||||
|
||||
gdk_window_set_user_data (window, widget);
|
||||
|
||||
xtext->depth = gdk_window_get_visual (window)->depth;
|
||||
xtext->depth = gdk_visual_get_depth (gdk_window_get_visual (window));
|
||||
|
||||
/* for the separator bar (light) */
|
||||
xtext->light_gc.red = 1.0;
|
||||
|
||||
Reference in new issue
Block a user