mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-11-06 00:35:38 +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
+10
-2
@@ -55,8 +55,16 @@ endif
|
||||
|
||||
zoitechat_gtk_deps += gtk_dep
|
||||
|
||||
if gtk_dep.get_pkgconfig_variable('target') == 'x11'
|
||||
zoitechat_gtk_deps += dependency('x11')
|
||||
if get_option('gtk3') and host_machine.system() != 'windows'
|
||||
gdk_x11_dep = dependency('gdk-x11-3.0', required: false)
|
||||
if gdk_x11_dep.found()
|
||||
zoitechat_gtk_deps += gdk_x11_dep
|
||||
endif
|
||||
|
||||
x11_dep = dependency('x11', required: false)
|
||||
if x11_dep.found()
|
||||
zoitechat_gtk_deps += x11_dep
|
||||
endif
|
||||
endif
|
||||
|
||||
zoitechat_gtk_ldflags = []
|
||||
|
||||
Reference in new issue
Block a user