From f78b6c9444c46c54440b8f6367d88f0e80e72a36 Mon Sep 17 00:00:00 2001 From: Wolfgang Ulbrich Date: Sun, 13 Dec 2015 16:30:40 +0100 Subject: remove more unused variables this avoid some build warnings --- savers/gs-theme-engine.c | 8 ++------ savers/gs-theme-window.c | 3 +-- savers/gste-popsquares.c | 8 ++------ 3 files changed, 5 insertions(+), 14 deletions(-) (limited to 'savers') 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) { -- cgit v1.2.1