summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--savers/gs-theme-engine.c8
-rw-r--r--savers/gs-theme-window.c3
-rw-r--r--savers/gste-popsquares.c8
-rw-r--r--src/gs-listener-dbus.c3
-rw-r--r--src/mate-screensaver-preferences.c3
5 files changed, 7 insertions, 18 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)
{
diff --git a/src/gs-listener-dbus.c b/src/gs-listener-dbus.c
index 3a73612..ec0be3f 100644
--- a/src/gs-listener-dbus.c
+++ b/src/gs-listener-dbus.c
@@ -1005,7 +1005,6 @@ listener_dbus_remove_ref_entry (GSListener *listener,
{
DBusMessage *reply;
DBusError error;
- const char *sender;
guint32 cookie;
dbus_error_init (&error);
@@ -1034,7 +1033,7 @@ listener_dbus_remove_ref_entry (GSListener *listener,
g_error ("No memory");
/* FIXME: check sender is from same connection as entry */
- sender = dbus_message_get_sender (message);
+ dbus_message_get_sender (message);
listener_remove_ref_entry (listener, entry_type, cookie);
diff --git a/src/mate-screensaver-preferences.c b/src/mate-screensaver-preferences.c
index 19db7d5..62e9eaf 100644
--- a/src/mate-screensaver-preferences.c
+++ b/src/mate-screensaver-preferences.c
@@ -1552,7 +1552,6 @@ init_capplet (void)
GtkWidget *fullscreen_preview_window;
GtkWidget *fullscreen_preview_previous;
GtkWidget *fullscreen_preview_next;
- GtkWidget *fullscreen_preview_area;
GtkWidget *fullscreen_preview_close;
char *gtk_builder_file;
gdouble activate_delay;
@@ -1599,7 +1598,7 @@ init_capplet (void)
preview_button = GTK_WIDGET (gtk_builder_get_object (builder, "preview_button"));
gpm_button = GTK_WIDGET (gtk_builder_get_object (builder, "gpm_button"));
fullscreen_preview_window = GTK_WIDGET (gtk_builder_get_object (builder, "fullscreen_preview_window"));
- fullscreen_preview_area = GTK_WIDGET (gtk_builder_get_object (builder, "fullscreen_preview_area"));
+ GTK_WIDGET (gtk_builder_get_object (builder, "fullscreen_preview_area"));
fullscreen_preview_close = GTK_WIDGET (gtk_builder_get_object (builder, "fullscreen_preview_close"));
fullscreen_preview_previous = GTK_WIDGET (gtk_builder_get_object (builder, "fullscreen_preview_previous_button"));
fullscreen_preview_next = GTK_WIDGET (gtk_builder_get_object (builder, "fullscreen_preview_next_button"));