[gnote] Refector out more constants



commit 3c98e7cba8b8ad047f54a8192d4c5d271d36b3d9
Author: Aurimas Černius <aurisc4 gmail com>
Date:   Fri Dec 18 22:47:18 2020 +0200

    Refector out more constants

 src/preferences.cpp | 6 +++---
 src/preferences.hpp | 3 ---
 2 files changed, 3 insertions(+), 6 deletions(-)
---
diff --git a/src/preferences.cpp b/src/preferences.cpp
index 11b14e17..d735f7e1 100644
--- a/src/preferences.cpp
+++ b/src/preferences.cpp
@@ -73,6 +73,9 @@ 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 ENABLE_AUTO_LINKS = "enable-auto-links";
+const Glib::ustring ENABLE_URL_LINKS = "enable-url-links";
+const Glib::ustring ENABLE_WIKIWORDS = "enable-wikiwords";
 
 const Glib::ustring DESKTOP_GNOME_CLOCK_FORMAT = "clock-format";
 const Glib::ustring DESKTOP_GNOME_FONT = "document-font-name";
@@ -95,9 +98,6 @@ namespace gnote {
 
   const char * Preferences::SCHEMA_GNOTE = "org.gnome.gnote";
 
-  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";
   const char * Preferences::ENABLE_CUSTOM_FONT = "enable-custom-font";
   const char * Preferences::ENABLE_AUTO_BULLETED_LISTS = "enable-bulleted-lists";
   const char * Preferences::ENABLE_ICON_PASTE = "enable-icon-paste";
diff --git a/src/preferences.hpp b/src/preferences.hpp
index 1f003faa..7cd9935f 100644
--- a/src/preferences.hpp
+++ b/src/preferences.hpp
@@ -57,9 +57,6 @@ namespace gnote {
   public:
     static const char *SCHEMA_GNOTE;
 
-    static const char *ENABLE_AUTO_LINKS;
-    static const char *ENABLE_URL_LINKS;
-    static const char *ENABLE_WIKIWORDS;
     static const char *ENABLE_CUSTOM_FONT;
     static const char *ENABLE_AUTO_BULLETED_LISTS;
     static const char *ENABLE_ICON_PASTE;


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