[gnote] Cleanup spellckecking constant



commit f049e59ba2c5c1d06a2d8a2f252f846c97852cf9
Author: Aurimas Černius <aurisc4 gmail com>
Date:   Fri Dec 18 17:48:24 2020 +0200

    Cleanup spellckecking constant

 src/preferences.cpp | 3 ++-
 src/preferences.hpp | 1 -
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/preferences.cpp b/src/preferences.cpp
index f7fe6566..444f2a96 100644
--- a/src/preferences.cpp
+++ b/src/preferences.cpp
@@ -28,6 +28,8 @@ const char *SCHEMA_DESKTOP_GNOME_INTERFACE = "org.gnome.desktop.interface";
 const char *SCHEMA_SYNC = "org.gnome.gnote.sync";
 const char *SCHEMA_SYNC_WDFS = "org.gnome.gnote.sync.wdfs";
 
+const Glib::ustring ENABLE_SPELLCHECKING = "enable-spellchecking";
+
 const Glib::ustring DESKTOP_GNOME_CLOCK_FORMAT = "clock-format";
 const Glib::ustring DESKTOP_GNOME_FONT = "document-font-name";
 
@@ -49,7 +51,6 @@ namespace gnote {
 
   const char * Preferences::SCHEMA_GNOTE = "org.gnome.gnote";
 
-  const char * Preferences::ENABLE_SPELLCHECKING = "enable-spellchecking";
   const char * Preferences::ENABLE_AUTO_LINKS = "enable-auto-links";
   const char * Preferences::ENABLE_URL_LINKS = "enable-url-links";
   const char * Preferences::ENABLE_WIKIWORDS = "enable-wikiwords";
diff --git a/src/preferences.hpp b/src/preferences.hpp
index 4dbb78da..485e803f 100644
--- a/src/preferences.hpp
+++ b/src/preferences.hpp
@@ -34,7 +34,6 @@ namespace gnote {
   public:
     static const char *SCHEMA_GNOTE;
 
-    static const char *ENABLE_SPELLCHECKING;
     static const char *ENABLE_AUTO_LINKS;
     static const char *ENABLE_URL_LINKS;
     static const char *ENABLE_WIKIWORDS;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]