From 351990cf47b62d3f28f0e8ee7857e84c50aed1ec Mon Sep 17 00:00:00 2001 From: Richard Cohen Date: Tue, 31 Jan 2023 16:17:27 +0000 Subject: [PATCH] Remove unused GNOME cmake flags There are no longer any Gnome dependencies --- CMakeLists.txt | 4 ---- common/config.h.cmake.in | 6 ------ 2 files changed, 10 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 727846aab9..04800ccf65 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -54,7 +54,6 @@ option (ENABLE_BINRELOC "compile with binary relocation support" ON) option (DISABLE_NLS "do not use Native Language Support" OFF) option (DISABLE_DEPRECATED_GLIB "don't use deprecated glib functions" OFF) option (DISABLE_DEPRECATED_GTK "don't use deprecated gtk, gdk or gdk-pixbuf functions" OFF) -option (DISABLE_DEPRECATED_GNOME "don't use deprecated gnome functions" OFF) # ############################################################ # These are also settable from the command line in a similar way. @@ -773,9 +772,6 @@ set(PLATFORM_OSX 1) set(HAVE_OSX_KEYCHAIN 1) endif() -if(DISABLE_DEPRECATED_GNOME) -set(GNOME_DISABLE_DEPRECATED 1) -endif() if(DISABLE_DEPRECATED_GTK) set(GTK_DISABLE_DEPRECATED 1) diff --git a/common/config.h.cmake.in b/common/config.h.cmake.in index 70602ef7b0..722fb6345f 100644 --- a/common/config.h.cmake.in +++ b/common/config.h.cmake.in @@ -43,12 +43,6 @@ /* Microsoft Windows OS */ #cmakedefine GNC_PLATFORM_WINDOWS 1 -/* using GNOME */ -#cmakedefine GNOME - -/* Don't use deprecated gnome functions */ -#cmakedefine GNOME_DISABLE_DEPRECATED - /* GnuCash build identification, which defaults to a description of the vcs commit from which gnucash is built. Distributions may want to insert a package management based version string instead. */