summaryrefslogtreecommitdiff
path: root/unity-shared
diff options
authorAndrea Azzarone <azzaronea@gmail.com>2012-08-01 19:28:49 +0200
committerAndrea Azzarone <azzaronea@gmail.com>2012-08-01 19:28:49 +0200
commitecf5358ca24407f42ad2c3394cff72c7de019560 (patch)
tree5435de413f8e34a1255ac4466ca38da0be67b941 /unity-shared
parent426ebddfad190c4db8259d5af236ae3478e84410 (diff)
Use g_setenv("GSETTINGS_BACKEND", "memory", TRUE);
(bzr r2527.1.6)
Diffstat (limited to 'unity-shared')
-rw-r--r--unity-shared/PanelStyle.cpp13
-rw-r--r--unity-shared/PanelStyle.h2
2 files changed, 0 insertions, 15 deletions
diff --git a/unity-shared/PanelStyle.cpp b/unity-shared/PanelStyle.cpp
index ff9ca4b74..0f2dd24e1 100644
--- a/unity-shared/PanelStyle.cpp
+++ b/unity-shared/PanelStyle.cpp
@@ -69,19 +69,6 @@ Style::Style()
, _style_context(gtk_style_context_new())
, _gsettings(g_settings_new(SETTINGS_NAME.c_str()))
{
- Init();
-}
-
-Style::Style(GSettingsBackend* backend)
- : panel_height(24)
- , _style_context(gtk_style_context_new())
- , _gsettings(g_settings_new_with_backend(SETTINGS_NAME.c_str(), backend))
-{
- Init();
-}
-
-void Style::Init()
-{
if (style_instance)
{
LOG_ERROR(logger) << "More than one panel::Style created.";
diff --git a/unity-shared/PanelStyle.h b/unity-shared/PanelStyle.h
index fdc5df8e3..397540f6c 100644
--- a/unity-shared/PanelStyle.h
+++ b/unity-shared/PanelStyle.h
@@ -64,7 +64,6 @@ class Style
{
public:
Style();
- Style(GSettingsBackend* backend);
~Style();
static Style& Instance();
@@ -82,7 +81,6 @@ public:
sigc::signal<void> changed;
private:
- void Init();
void Refresh();
glib::Object<GtkStyleContext> _style_context;