diff options
-rw-r--r-- | mate-panel/panel-background.c | 4 | ||||
-rw-r--r-- | mate-panel/panel-background.h | 1 |
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, |