From 4ba10a8106ee2ed8a8499ae29932724a1f69cda3 Mon Sep 17 00:00:00 2001 From: William Wold Date: Wed, 11 Nov 2020 13:44:13 -0800 Subject: Drop panel_profile_set_background_gdk_rgba() and getter (duplicates of panel_profile_set_background_color ()) --- mate-panel/panel-profile.c | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) (limited to 'mate-panel/panel-profile.c') 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 @@ -238,20 +238,6 @@ panel_profile_get_background_type (PanelToplevel *toplevel) 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; @@ -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); -- cgit v1.2.1