[gnome-applets] window-buttons: remove unused getMetacityTheme



commit 90e5b92f9b8237da94d7f6a87bd4ca1c894b604a
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Tue Mar 28 14:28:18 2017 +0300

    window-buttons: remove unused getMetacityTheme

 window-buttons/external.c |    8 --------
 window-buttons/external.h |    1 -
 2 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/window-buttons/external.c b/window-buttons/external.c
index 1d5c5fe..9100615 100755
--- a/window-buttons/external.c
+++ b/window-buttons/external.c
@@ -26,7 +26,6 @@
 #include "external.h"
 
 gchar *getMetacityLayout(void);
-gchar *getMetacityTheme(void);
 gboolean issetCompizDecoration(void);
 //gboolean issetMetacityDecoration(void); //TODO
 void toggleCompizDecoration(gboolean);
@@ -58,13 +57,6 @@ gchar *getMetacityLayout() {
        return retval;
 }
 
-gchar *getMetacityTheme() {
-       GSettings *gs = g_settings_new(GSETTINGS_METACITY_SCHEMA);
-       gchar *retval = g_settings_get_string(gs, CFG_METACITY_THEME);
-       g_object_unref(gs);
-       return retval;
-}
-
 gboolean issetCompizDecoration() {
        if(!decorPluginInstalled()) return FALSE;
 
diff --git a/window-buttons/external.h b/window-buttons/external.h
index f314fc3..cf15fae 100755
--- a/window-buttons/external.h
+++ b/window-buttons/external.h
@@ -22,7 +22,6 @@
 #include <gio/gio.h>
 
 #define GSETTINGS_METACITY_SCHEMA                      "org.gnome.desktop.wm.preferences"
-#define CFG_METACITY_THEME                                     "theme"
 #define CFG_METACITY_BUTTON_LAYOUT                     "button-layout"
 
 #define GSETTINGS_COMPIZ_SCHEMA                                "org.compiz"


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