From dd16c4c2043cd65543b7aa08078290e3687402d4 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Wed, 20 Nov 2019 12:10:51 +0000 Subject: **/Makefile.am: Set -DGTK_DISABLE_DEPRECATED for gtk2 builds. Fixes FTBFS against Glib2.0 >= 2.62. --- tests/Makefile.am | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tests') diff --git a/tests/Makefile.am b/tests/Makefile.am index 93fcd14..3d7ea3b 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -2,6 +2,7 @@ if USE_GTK3 INDICATOR_LIB = -layatana-indicator3 else INDICATOR_LIB = -layatana-indicator +GTK_DISABLE_DEPRECATED = -DGTK_DISABLE_DEPRECATED endif TESTS = @@ -93,6 +94,7 @@ libdummy_indicator_blank_la_SOURCES = \ libdummy_indicator_blank_la_CFLAGS = \ -Wall -Werror \ + $(GTK_DISABLE_DEPRECATED) \ $(LIBINDICATOR_CFLAGS) -I$(top_srcdir) libdummy_indicator_blank_la_LIBADD = \ @@ -113,6 +115,7 @@ libdummy_indicator_null_la_SOURCES = \ libdummy_indicator_null_la_CFLAGS = \ -Wall -Werror \ + $(GTK_DISABLE_DEPRECATED) \ $(LIBINDICATOR_CFLAGS) -I$(top_srcdir) libdummy_indicator_null_la_LIBADD = \ @@ -133,6 +136,7 @@ libdummy_indicator_signaler_la_SOURCES = \ libdummy_indicator_signaler_la_CFLAGS = \ -Wall -Werror \ + $(GTK_DISABLE_DEPRECATED) \ $(LIBINDICATOR_CFLAGS) -I$(top_srcdir) libdummy_indicator_signaler_la_LIBADD = \ @@ -153,6 +157,7 @@ libdummy_indicator_simple_la_SOURCES = \ libdummy_indicator_simple_la_CFLAGS = \ -Wall -Werror \ + $(GTK_DISABLE_DEPRECATED) \ $(LIBINDICATOR_CFLAGS) -I$(top_srcdir) libdummy_indicator_simple_la_LIBADD = \ @@ -174,6 +179,7 @@ libdummy_indicator_entry_func_la_SOURCES = \ libdummy_indicator_entry_func_la_CFLAGS = \ -Wall -Werror \ + $(GTK_DISABLE_DEPRECATED) \ $(LIBINDICATOR_CFLAGS) -I$(top_srcdir) libdummy_indicator_entry_func_la_LIBADD = \ @@ -194,6 +200,7 @@ libdummy_indicator_visible_la_SOURCES = \ libdummy_indicator_visible_la_CFLAGS = \ -Wall -Werror \ + $(GTK_DISABLE_DEPRECATED) \ $(LIBINDICATOR_CFLAGS) -I$(top_srcdir) libdummy_indicator_visible_la_LIBADD = \ -- cgit v1.2.3