[gnome-panel] background: remove unused function



commit 941b0e23116808e05f123408f5f89af7a9b81259
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Thu Oct 6 19:41:15 2016 +0300

    background: remove unused function

 gnome-panel/panel-background.c |    6 ------
 gnome-panel/panel-background.h |    1 -
 2 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/gnome-panel/panel-background.c b/gnome-panel/panel-background.c
index 5b16f91..a82934f 100644
--- a/gnome-panel/panel-background.c
+++ b/gnome-panel/panel-background.c
@@ -847,12 +847,6 @@ panel_background_get_type (PanelBackground *background)
        return background->type;
 }
 
-const GdkRGBA *
-panel_background_get_color (PanelBackground *background)
-{
-       return &(background->color);
-}
-
 /* What are we actually rendering - e.g. if we're supposed to
  * be rendering an image, but haven't got a valid image, then
  * we're rendering the default gtk background.
diff --git a/gnome-panel/panel-background.h b/gnome-panel/panel-background.h
index 48f94d9..22e6f40 100644
--- a/gnome-panel/panel-background.h
+++ b/gnome-panel/panel-background.h
@@ -88,7 +88,6 @@ void  panel_background_change_region     (PanelBackground     *background,
                                          int                  height);
 
 PanelBackgroundType  panel_background_get_type   (PanelBackground *background);
-const GdkRGBA       *panel_background_get_color  (PanelBackground *background);
 
 PanelBackgroundType
       panel_background_effective_type    (PanelBackground     *background);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]