summaryrefslogtreecommitdiff
path: root/mate-panel/panel-profile.c
diff options
context:
space:
mode:
authorWilliam Wold <[email protected]>2020-11-11 13:44:13 -0800
committerraveit65 <[email protected]>2020-12-04 21:45:39 +0100
commit4ba10a8106ee2ed8a8499ae29932724a1f69cda3 (patch)
treedab54361230f5305f1f2c4c9d34b0300293deebd /mate-panel/panel-profile.c
parent6b0fe07189c693d6b31da2063721a24959984452 (diff)
downloadmate-panel-4ba10a8106ee2ed8a8499ae29932724a1f69cda3.tar.bz2
mate-panel-4ba10a8106ee2ed8a8499ae29932724a1f69cda3.tar.xz
Drop panel_profile_set_background_gdk_rgba() and getter (duplicates of panel_profile_set_background_color ())
Diffstat (limited to 'mate-panel/panel-profile.c')
-rw-r--r--mate-panel/panel-profile.c20
1 files changed, 3 insertions, 17 deletions
diff --git a/mate-panel/panel-profile.c b/mate-panel/panel-profile.c
index 883dcba6..7625f6a8 100644
--- a/mate-panel/panel-profile.c
+++ b/mate-panel/panel-profile.c
@@ -239,20 +239,6 @@ void
panel_profile_set_background_color (PanelToplevel *toplevel,
GdkRGBA *color)
{
- panel_profile_set_background_gdk_rgba (toplevel, color);
-}
-
-void
-panel_profile_get_background_color (PanelToplevel *toplevel,
- GdkRGBA *color)
-{
- panel_profile_get_background_gdk_rgba (toplevel, color);
-}
-
-void
-panel_profile_set_background_gdk_rgba (PanelToplevel *toplevel,
- GdkRGBA *color)
-{
char *color_str;
color_str = gdk_rgba_to_string (color);
@@ -263,8 +249,8 @@ panel_profile_set_background_gdk_rgba (PanelToplevel *toplevel,
}
void
-panel_profile_get_background_gdk_rgba (PanelToplevel *toplevel,
- GdkRGBA *color)
+panel_profile_get_background_color (PanelToplevel *toplevel,
+ GdkRGBA *color)
{
char *color_str;
@@ -524,7 +510,7 @@ panel_profile_load_background (PanelToplevel *toplevel)
background = &panel_widget->toplevel->background;
background_type = panel_profile_get_background_type (toplevel);
- panel_profile_get_background_gdk_rgba (toplevel, &color);
+ panel_profile_get_background_color (toplevel, &color);
image = get_background_image (toplevel, &fit, &stretch, &rotate);