From 20f965d5e13bfe010f3df5ddfdfca837267b9ebb Mon Sep 17 00:00:00 2001 From: Jean-Philippe Orsini Date: Wed, 22 Jan 2014 07:53:44 +0000 Subject: [PATCH] ignore warning to avoid compilation failures due to removal of GtkAction in gtk+3.10 --- NEWS | 1 + configure.ac | 2 +- src/Makefile.am | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index 91f1354..a52764b 100644 --- a/NEWS +++ b/NEWS @@ -15,6 +15,7 @@ v0.0.5 list of tasks. * popup menu to filter columns of the table of tasks. * allow to change the directory containing the notes. + * fixed compilation with gtk+ 3.10 (ignore deprecation of GtkAction). v0.0.4 ------ diff --git a/configure.ac b/configure.ac index 5ae10f4..e182587 100644 --- a/configure.ac +++ b/configure.ac @@ -36,7 +36,7 @@ PKG_CHECK_MODULES(GTK, gtk+-3.0) GTK_CFLAGS+=" -DGTK_DISABLE_SINGLE_INCLUDES " # ensure that no gtk deprecated symbols are used GTK_CFLAGS+=" -DGDK_DISABLE_DEPRECATED " -GTK_CFLAGS+=" -DGTK_DISABLE_DEPRECATED " +# GTK_CFLAGS+=" -DGTK_DISABLE_DEPRECATED " # ensure use of accessors GTK_CFLAGS+=" -DGSEAL_ENABLE " AC_SUBST(GTK_CFLAGS) diff --git a/src/Makefile.am b/src/Makefile.am index bb1cbfc..e89e1fb 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -3,7 +3,7 @@ SUBDIRS=glade # -export-dynamic is need for defining handlers in the glade file. AM_LDFLAGS = -Wl,--as-needed -export-dynamic -AM_CPPFLAGS = -Wall -Werror $(GTK_CFLAGS) $(JSON_CFLAGS) +AM_CPPFLAGS = -Wall $(GTK_CFLAGS) $(JSON_CFLAGS) DEFS = -DPACKAGE_DATA_DIR=\"$(pkgdatadir)\" -DLOCALEDIR=\"$(localedir)\" @DEFS@ -- 2.7.4