[gnome-commander/get_rid_of_xml] Removing unused GFileMonitor references



commit f63fb0005040359e5a3a73cf5a9b097371135c8d
Author: Uwe Scholz <u scholz83 gmx de>
Date:   Mon Dec 3 15:26:30 2018 +0100

    Removing unused GFileMonitor references

 src/gnome-cmd-data.cc | 3 ---
 src/gnome-cmd-data.h  | 1 -
 2 files changed, 4 deletions(-)
---
diff --git a/src/gnome-cmd-data.cc b/src/gnome-cmd-data.cc
index 840225e3..309a5ac0 100644
--- a/src/gnome-cmd-data.cc
+++ b/src/gnome-cmd-data.cc
@@ -60,7 +60,6 @@ struct GnomeCmdData::Private
     gboolean         sort_direction[2];
 
     gchar           *ftp_anonymous_password;
-    GFileMonitor    *settings_monitor;
 };
 
 GSettingsSchemaSource* GnomeCmdData::GetGlobalSchemaSource()
@@ -2743,8 +2742,6 @@ GnomeCmdData::~GnomeCmdData()
         // free the anonymous password string
         g_free (priv->ftp_anonymous_password);
 
-        g_object_unref (priv->settings_monitor);
-
         g_free (priv);
     }
 }
diff --git a/src/gnome-cmd-data.h b/src/gnome-cmd-data.h
index ef285199..06f6a653 100644
--- a/src/gnome-cmd-data.h
+++ b/src/gnome-cmd-data.h
@@ -637,7 +637,6 @@ struct GnomeCmdData
     void save_intviewer_defaults();
     void save_devices_via_gsettings();
     void save_fav_apps_via_gsettings();
-    void set_settings_monitor (const char *file_path);
     inline gint get_int (const gchar *path, int def);
     inline gchar* get_string (const gchar *path, const gchar *def);
     inline void set_string (const gchar *path, const gchar *value);


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