gnucash maint: Suppress a few more gtk deprecation warnings

Geert Janssens gjanssens at code.gnucash.org
Sat Jan 19 10:52:06 EST 2019


Updated	 via  https://github.com/Gnucash/gnucash/commit/f7173c34 (commit)
	from  https://github.com/Gnucash/gnucash/commit/08704127 (commit)



commit f7173c341aefa42d86e3091e928835b29d162409
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Sat Jan 19 16:51:50 2019 +0100

    Suppress a few more gtk deprecation warnings
    
    For GtkAction and GtkTable.

diff --git a/gnucash/gnome/CMakeLists.txt b/gnucash/gnome/CMakeLists.txt
index f47c977..083c7ee 100644
--- a/gnucash/gnome/CMakeLists.txt
+++ b/gnucash/gnome/CMakeLists.txt
@@ -128,6 +128,7 @@ target_link_libraries(gnc-gnome gncmod-gnome-search gncmod-ledger-core gncmod-re
     gncmod-register-gnome gncmod-register-core gncmod-gnome-utils gncmod-engine ${GTK3_LDFLAGS} ${GTK_MAC_LDFLAGS})
 
 target_compile_definitions (gnc-gnome PRIVATE -DG_LOG_DOMAIN=\"gnc.gui\" ${GTK_MAC_CFLAGS_OTHER})
+target_compile_options(gnc-gnome PRIVATE -Wno-deprecated-declarations)
 
 target_include_directories(gnc-gnome
   PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}
diff --git a/gnucash/import-export/aqb/CMakeLists.txt b/gnucash/import-export/aqb/CMakeLists.txt
index ae2d217..4838acc 100644
--- a/gnucash/import-export/aqb/CMakeLists.txt
+++ b/gnucash/import-export/aqb/CMakeLists.txt
@@ -62,6 +62,7 @@ if(WITH_AQBANKING)
          ${GNOME_LDFLAGS} ${KTOBLZCHECK_LDFLAGS} ${AQB_LIBSTDCXX})
 
   target_compile_definitions(gncmod-aqbanking PRIVATE -DG_LOG_DOMAIN=\"gnc.import.aqbanking\")
+  target_compile_options(gncmod-aqbanking PRIVATE -Wno-deprecated-declarations)
 
   target_include_directories(gncmod-aqbanking PRIVATE
     ${CMAKE_SOURCE_DIR}/borrowed/gwengui-gtk3
diff --git a/gnucash/report/report-gnome/CMakeLists.txt b/gnucash/report/report-gnome/CMakeLists.txt
index 5e8534a..7f20c3f 100644
--- a/gnucash/report/report-gnome/CMakeLists.txt
+++ b/gnucash/report/report-gnome/CMakeLists.txt
@@ -32,6 +32,7 @@ target_link_libraries(gncmod-report-gnome gncmod-report-system gncmod-html gncmo
       ${GUILE_LDFLAGS} ${GTK3_LDFLAGS})
 
 target_compile_definitions (gncmod-report-gnome PRIVATE -DG_LOG_DOMAIN=\"gnc.report.gui\")
+target_compile_options(gncmod-report-gnome PRIVATE -Wno-deprecated-declarations)
 
 target_include_directories(gncmod-report-gnome PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
 



Summary of changes:
 gnucash/gnome/CMakeLists.txt               | 1 +
 gnucash/import-export/aqb/CMakeLists.txt   | 1 +
 gnucash/report/report-gnome/CMakeLists.txt | 1 +
 3 files changed, 3 insertions(+)



More information about the gnucash-changes mailing list