mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-22 13:40:17 +00:00
build: GTK deprecation cleanup + follow-up warning fixes
This commit is contained in:
@@ -47,8 +47,6 @@ config_h.set('G_DISABLE_SINGLE_INCLUDES', true)
|
||||
config_h.set('GTK_DISABLE_DEPRECATED', true)
|
||||
config_h.set('GTK_DISABLE_SINGLE_INCLUDES', true)
|
||||
config_h.set('GDK_PIXBUF_DISABLE_SINGLE_INCLUDES', true)
|
||||
config_h.set('GLIB_VERSION_MAX_ALLOWED', 'GLIB_VERSION_2_36')
|
||||
config_h.set('GLIB_VERSION_MIN_REQUIRED', 'GLIB_VERSION_2_36')
|
||||
|
||||
# Detected features
|
||||
config_h.set('HAVE_MEMRCHR', cc.has_function('memrchr'))
|
||||
@@ -94,7 +92,10 @@ if host_machine.system() == 'windows'
|
||||
endif
|
||||
|
||||
|
||||
global_cflags = []
|
||||
global_cflags = [
|
||||
'-DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_36',
|
||||
'-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_36',
|
||||
]
|
||||
test_cflags = [
|
||||
'-funsigned-char',
|
||||
'-Wno-conversion',
|
||||
|
||||
Reference in New Issue
Block a user