ignore warning to avoid compilation failures due to removal of GtkAction in gtk+3.10
authorJean-Philippe Orsini <jeanfi@gmail.com>
Wed, 22 Jan 2014 07:53:44 +0000 (07:53 +0000)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Wed, 22 Jan 2014 07:53:44 +0000 (07:53 +0000)
NEWS
configure.ac
src/Makefile.am

diff --git a/NEWS b/NEWS
index 91f1354..a52764b 100644 (file)
--- 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
 ------
index 5ae10f4..e182587 100644 (file)
@@ -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)
index bb1cbfc..e89e1fb 100644 (file)
@@ -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@