add -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED to gtk cflags
Change-Id: If642e9ec03a092375acb9b0624e62eec33ebd716 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108063 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
parent
6fb2a92af8
commit
38f2078321
1 changed files with 1 additions and 0 deletions
|
@ -11241,6 +11241,7 @@ if test "x$enable_gtk3" = "xyes" -o "x$enable_gtk3_kde5" = "xyes"; then
|
|||
: ${with_system_cairo:=yes}
|
||||
PKG_CHECK_MODULES(GTK3, gtk+-3.0 >= 3.20 gtk+-unix-print-3.0 gmodule-no-export-2.0 glib-2.0 >= 2.38 cairo)
|
||||
GTK3_CFLAGS=$(printf '%s' "$GTK3_CFLAGS" | sed -e "s/-I/${ISYSTEM?}/g")
|
||||
GTK3_CFLAGS="$GTK3_CFLAGS -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED"
|
||||
FilterLibs "${GTK3_LIBS}"
|
||||
GTK3_LIBS="${filteredlibs}"
|
||||
|
||||
|
|
Loading…
Reference in a new issue