summaryrefslogtreecommitdiff
path: root/savers
diff options
context:
space:
mode:
authorWolfgang Ulbrich <[email protected]>2015-12-13 16:30:40 +0100
committerWolfgang Ulbrich <[email protected]>2015-12-13 16:30:40 +0100
commitf78b6c9444c46c54440b8f6367d88f0e80e72a36 (patch)
tree3bde4b0024bd420907de5b47ac96a233e301b54a /savers
parent77a6698715849b735d41b40c319936eea670ce3d (diff)
downloadmate-screensaver-f78b6c9444c46c54440b8f6367d88f0e80e72a36.tar.bz2
mate-screensaver-f78b6c9444c46c54440b8f6367d88f0e80e72a36.tar.xz
remove more unused variables
this avoid some build warnings
Diffstat (limited to 'savers')
-rw-r--r--savers/gs-theme-engine.c8
-rw-r--r--savers/gs-theme-window.c3
-rw-r--r--savers/gste-popsquares.c8
3 files changed, 5 insertions, 14 deletions
diff --git a/savers/gs-theme-engine.c b/savers/gs-theme-engine.c
index 900d95d..d2ad4ad 100644
--- a/savers/gs-theme-engine.c
+++ b/savers/gs-theme-engine.c
@@ -81,9 +81,7 @@ gs_theme_engine_set_property (GObject *object,
const GValue *value,
GParamSpec *pspec)
{
- GSThemeEngine *self;
-
- self = GS_THEME_ENGINE (object);
+ GS_THEME_ENGINE (object);
switch (prop_id)
{
@@ -99,9 +97,7 @@ gs_theme_engine_get_property (GObject *object,
GValue *value,
GParamSpec *pspec)
{
- GSThemeEngine *self;
-
- self = GS_THEME_ENGINE (object);
+ GS_THEME_ENGINE (object);
switch (prop_id)
{
diff --git a/savers/gs-theme-window.c b/savers/gs-theme-window.c
index 70ac063..0741aad 100644
--- a/savers/gs-theme-window.c
+++ b/savers/gs-theme-window.c
@@ -100,10 +100,9 @@ gs_theme_window_init (GSThemeWindow *window)
static void
gs_theme_window_finalize (GObject *object)
{
- GSThemeWindow *window;
GObjectClass *parent_class;
- window = GS_THEME_WINDOW (object);
+ GS_THEME_WINDOW (object);
parent_class = G_OBJECT_CLASS (gs_theme_window_parent_class);
diff --git a/savers/gste-popsquares.c b/savers/gste-popsquares.c
index 245be48..a279f27 100644
--- a/savers/gste-popsquares.c
+++ b/savers/gste-popsquares.c
@@ -336,9 +336,7 @@ gste_popsquares_set_property (GObject *object,
const GValue *value,
GParamSpec *pspec)
{
- GSTEPopsquares *self;
-
- self = GSTE_POPSQUARES (object);
+ GSTE_POPSQUARES (object);
switch (prop_id)
{
@@ -354,9 +352,7 @@ gste_popsquares_get_property (GObject *object,
GValue *value,
GParamSpec *pspec)
{
- GSTEPopsquares *self;
-
- self = GSTE_POPSQUARES (object);
+ GSTE_POPSQUARES (object);
switch (prop_id)
{