[gnote] Cleanup fuse constants



commit 6a1ceccd89b205e81227f8807e4774261af4242b
Author: Aurimas Černius <aurisc4 gmail com>
Date:   Sun Dec 13 19:09:13 2020 +0200

    Cleanup fuse constants

 src/preferences.cpp | 12 ++++++------
 src/preferences.hpp |  6 ------
 2 files changed, 6 insertions(+), 12 deletions(-)
---
diff --git a/src/preferences.cpp b/src/preferences.cpp
index 91542458..3291fd93 100644
--- a/src/preferences.cpp
+++ b/src/preferences.cpp
@@ -26,6 +26,7 @@ namespace {
 
 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 DESKTOP_GNOME_CLOCK_FORMAT = "clock-format";
 const Glib::ustring DESKTOP_GNOME_FONT = "document-font-name";
@@ -36,13 +37,17 @@ const Glib::ustring SYNC_SELECTED_SERVICE_ADDIN = "sync-selected-service-addin";
 const Glib::ustring SYNC_CONFIGURED_CONFLICT_BEHAVIOR = "sync-conflict-behavior";
 const Glib::ustring SYNC_AUTOSYNC_TIMEOUT = "autosync-timeout";
 
+const Glib::ustring SYNC_FUSE_MOUNT_TIMEOUT = "sync-fuse-mount-timeout-ms";
+const Glib::ustring SYNC_FUSE_WDFS_ACCEPT_SSLCERT = "accept-sslcert";
+const Glib::ustring SYNC_FUSE_WDFS_URL = "url";
+const Glib::ustring SYNC_FUSE_WDFS_USERNAME = "username";
+
 }
 
 namespace gnote {
 
 
   const char * Preferences::SCHEMA_GNOTE = "org.gnome.gnote";
-  const char * Preferences::SCHEMA_SYNC_WDFS = "org.gnome.gnote.sync.wdfs";
 
   const char * Preferences::ENABLE_SPELLCHECKING = "enable-spellchecking";
   const char * Preferences::ENABLE_AUTO_LINKS = "enable-auto-links";
@@ -70,11 +75,6 @@ namespace gnote {
   const char * Preferences::SEARCH_WINDOW_SPLITTER_POS = "search-window-splitter-pos";
   const char * Preferences::SEARCH_SORTING = "search-sorting";
 
-  const char * Preferences::SYNC_FUSE_MOUNT_TIMEOUT = "sync-fuse-mount-timeout-ms";
-  const char * Preferences::SYNC_FUSE_WDFS_ACCEPT_SSLCERT = "accept-sslcert";
-  const char * Preferences::SYNC_FUSE_WDFS_URL = "url";
-  const char * Preferences::SYNC_FUSE_WDFS_USERNAME = "username";
-
 
   void Preferences::init()
   {
diff --git a/src/preferences.hpp b/src/preferences.hpp
index fa22f748..f5cd3a0e 100644
--- a/src/preferences.hpp
+++ b/src/preferences.hpp
@@ -33,7 +33,6 @@ namespace gnote {
   {
   public:
     static const char *SCHEMA_GNOTE;
-    static const char *SCHEMA_SYNC_WDFS;
 
     static const char *ENABLE_SPELLCHECKING;
     static const char *ENABLE_AUTO_LINKS;
@@ -61,11 +60,6 @@ namespace gnote {
     static const char *SEARCH_SORTING;
     static const char *USE_CLIENT_SIDE_DECORATIONS;
 
-    static const char *SYNC_FUSE_MOUNT_TIMEOUT;
-    static const char *SYNC_FUSE_WDFS_ACCEPT_SSLCERT;
-    static const char *SYNC_FUSE_WDFS_URL;
-    static const char *SYNC_FUSE_WDFS_USERNAME;
-
     Preferences() {}
     void init();
 


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