Skip to content

Commit

Permalink
Disable deprecation warning in GTK at github validataion
Browse files Browse the repository at this point in the history
  • Loading branch information
laeubi committed Dec 22, 2024
1 parent f37c155 commit 26db193
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ jobs:
with:
maven-version: 3.9.9
- name: Build
env:
GTK_XCFLAGS: '-Wno-deprecated-declarations'
run: >-
${{ contains(matrix.config.native, 'linux') && 'xvfb-run' || '' }}
mvn --batch-mode -V -U -e
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ cd `dirname $0`

MAKE_TYPE=make

export CFLAGS='-O -Wall -fPIC'
export CFLAGS="-O -Wall -fPIC ${GTK_XCFLAGS}"

# Determine which OS we are on
if [ "${OS}" = "" ]; then
Expand Down

0 comments on commit 26db193

Please sign in to comment.