From f7173c341aefa42d86e3091e928835b29d162409 Mon Sep 17 00:00:00 2001 From: Geert Janssens Date: Sat, 19 Jan 2019 16:51:50 +0100 Subject: [PATCH] Suppress a few more gtk deprecation warnings For GtkAction and GtkTable. --- gnucash/gnome/CMakeLists.txt | 1 + gnucash/import-export/aqb/CMakeLists.txt | 1 + gnucash/report/report-gnome/CMakeLists.txt | 1 + 3 files changed, 3 insertions(+) diff --git a/gnucash/gnome/CMakeLists.txt b/gnucash/gnome/CMakeLists.txt index f47c9779d2..083c7ee393 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 ae2d217270..4838acc904 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 5e8534a25c..7f20c3fa0f 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})