summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-01-04 19:58:02 +0300
committermonsta <[email protected]>2016-01-04 19:58:02 +0300
commit49326e0842e21504170957b07debde3bd2906b0c (patch)
tree38d35ed20481d021265cbd2783b3a00ac764b295
parent67b6012f3111afb3d90a5e9bb60bc0f3e0e6c520 (diff)
downloadmate-panel-49326e0842e21504170957b07debde3bd2906b0c.tar.bz2
mate-panel-49326e0842e21504170957b07debde3bd2906b0c.tar.xz
background: drop variable that's only assigned but never checked
-rw-r--r--mate-panel/panel-background.c4
-rw-r--r--mate-panel/panel-background.h1
2 files changed, 0 insertions, 5 deletions
diff --git a/mate-panel/panel-background.c b/mate-panel/panel-background.c
index 1dce2f8b..628ae244 100644
--- a/mate-panel/panel-background.c
+++ b/mate-panel/panel-background.c
@@ -46,7 +46,6 @@ static void load_background_file (PanelBackground *background);
static void
free_prepared_resources (PanelBackground *background)
{
- background->prepared = FALSE;
#if !GTK_CHECK_VERSION (3, 0, 0)
switch (background->type) {
case PANEL_BACK_NONE:
@@ -248,8 +247,6 @@ panel_background_prepare (PanelBackground *background)
gtk_widget_queue_draw (widget);
}
- background->prepared = TRUE;
-
background->notify_changed (background, background->user_data);
return TRUE;
@@ -1253,7 +1250,6 @@ panel_background_init (PanelBackground *background,
background->transformed = FALSE;
background->composited = FALSE;
- background->prepared = FALSE;
}
void
diff --git a/mate-panel/panel-background.h b/mate-panel/panel-background.h
index 1d984073..02b3605f 100644
--- a/mate-panel/panel-background.h
+++ b/mate-panel/panel-background.h
@@ -86,7 +86,6 @@ struct _PanelBackground {
guint loaded : 1;
guint transformed : 1;
guint composited : 1;
- guint prepared : 1;
};
void panel_background_init (PanelBackground *background,