summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mate-panel/panel-profile.c20
-rw-r--r--mate-panel/panel-profile.h5
-rw-r--r--mate-panel/panel-properties-dialog.c2
3 files changed, 4 insertions, 23 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);
diff --git a/mate-panel/panel-profile.h b/mate-panel/panel-profile.h
index 3648d82d..359714b5 100644
--- a/mate-panel/panel-profile.h
+++ b/mate-panel/panel-profile.h
@@ -114,11 +114,6 @@ void panel_profile_set_background_color (PanelToplevel *topl
void panel_profile_get_background_color (PanelToplevel *toplevel,
GdkRGBA *color);
-void panel_profile_set_background_gdk_rgba (PanelToplevel *toplevel,
- GdkRGBA *color);
-void panel_profile_get_background_gdk_rgba (PanelToplevel *toplevel,
- GdkRGBA *color);
-
void panel_profile_set_background_opacity (PanelToplevel *toplevel,
guint16 opacity);
guint16 panel_profile_get_background_opacity (PanelToplevel *toplevel);
diff --git a/mate-panel/panel-properties-dialog.c b/mate-panel/panel-properties-dialog.c
index 95ffd00d..c5fc2c11 100644
--- a/mate-panel/panel-properties-dialog.c
+++ b/mate-panel/panel-properties-dialog.c
@@ -332,7 +332,7 @@ panel_properties_dialog_color_changed (PanelPropertiesDialog *dialog,
g_assert (dialog->color_button == GTK_WIDGET (color_button));
gtk_color_chooser_get_rgba (color_button, &color);
- panel_profile_set_background_gdk_rgba (dialog->toplevel, &color);
+ panel_profile_set_background_color (dialog->toplevel, &color);
panel_properties_dialog_opacity_changed (dialog);
}