[gnome-commander/GSettings] Adds get_int() to private methods of GnomeCmdData class
- From: Uwe Scholz <uwescholz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander/GSettings] Adds get_int() to private methods of GnomeCmdData class
- Date: Sun, 15 May 2016 21:34:31 +0000 (UTC)
commit 5120ef5bea043dd20a54e4b0183d669853186066
Author: Uwe Scholz <uwescholz src gnome org>
Date: Sun May 15 19:23:23 2016 +0200
Adds get_int() to private methods of GnomeCmdData class
src/gnome-cmd-data.cc | 2 +-
src/gnome-cmd-data.h | 1 +
2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/gnome-cmd-data.cc b/src/gnome-cmd-data.cc
index a520f3e..7f70f90 100644
--- a/src/gnome-cmd-data.cc
+++ b/src/gnome-cmd-data.cc
@@ -341,7 +341,7 @@ void GnomeCmdData::AdvrenameConfig::Profile::reset()
}
-inline gint get_int (const gchar *path, int def)
+inline gint GnomeCmdData::get_int (const gchar *path, int def)
{
gboolean b = FALSE;
gint value = gnome_config_get_int_with_default (path, &b);
diff --git a/src/gnome-cmd-data.h b/src/gnome-cmd-data.h
index 0831f62..7b03049 100644
--- a/src/gnome-cmd-data.h
+++ b/src/gnome-cmd-data.h
@@ -452,6 +452,7 @@ struct GnomeCmdData
void save_auto_load_plugins();
void save_cmdline_history();
void save_intviewer_defaults();
+ inline gint get_int (const gchar *path, int def);
public:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]