summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mate-panel/panel-background.c20
-rw-r--r--mate-panel/panel-background.h2
2 files changed, 0 insertions, 22 deletions
diff --git a/mate-panel/panel-background.c b/mate-panel/panel-background.c
index 132d8921..fc74f03a 100644
--- a/mate-panel/panel-background.c
+++ b/mate-panel/panel-background.c
@@ -455,26 +455,6 @@ panel_background_set_type (PanelBackground *background,
}
static void
-panel_background_set_opacity_no_update (PanelBackground *background,
- guint16 opacity)
-{
- background->color.alpha = opacity / 65535.0;
- panel_background_update_has_alpha (background);
-}
-
-void
-panel_background_set_opacity (PanelBackground *background,
- guint16 opacity)
-{
- if (background->color.alpha == (opacity / 65535.0))
- return;
-
- free_transformed_resources (background);
- panel_background_set_opacity_no_update (background, opacity);
- panel_background_transform (background);
-}
-
-static void
panel_background_set_color_no_update (PanelBackground *background,
const GdkRGBA *color)
{
diff --git a/mate-panel/panel-background.h b/mate-panel/panel-background.h
index b39cc569..5ba81da4 100644
--- a/mate-panel/panel-background.h
+++ b/mate-panel/panel-background.h
@@ -83,8 +83,6 @@ void panel_background_set (PanelBackground *background,
gboolean rotate_image);
void panel_background_set_type (PanelBackground *background,
PanelBackgroundType type);
-void panel_background_set_opacity (PanelBackground *background,
- guint16 opacity);
void panel_background_set_color (PanelBackground *background,
const GdkRGBA *color);
void panel_background_set_image (PanelBackground *background,