Skip to content

Commit 008af6c

Browse files
committed
Disable deprecation warning in GTK at github validataion
1 parent f37c155 commit 008af6c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/maven.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ jobs:
6060
with:
6161
maven-version: 3.9.9
6262
- name: Build
63+
env:
64+
GTK_XCFLAGS: '-Wno-deprecated-declarations'
6365
run: >-
6466
${{ contains(matrix.config.native, 'linux') && 'xvfb-run' || '' }}
6567
mvn --batch-mode -V -U -e

bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ cd `dirname $0`
7474

7575
MAKE_TYPE=make
7676

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

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

0 commit comments

Comments
 (0)