diff options
-rw-r--r-- | mate-panel/panel-profile.c | 8 | ||||
-rw-r--r-- | mate-panel/panel-profile.h | 4 | ||||
-rw-r--r-- | mate-panel/panel-properties-dialog.c | 4 |
3 files changed, 8 insertions, 8 deletions
diff --git a/mate-panel/panel-profile.c b/mate-panel/panel-profile.c index 9a84eaeb..06eddc7b 100644 --- a/mate-panel/panel-profile.c +++ b/mate-panel/panel-profile.c @@ -240,7 +240,7 @@ panel_profile_set_background_color (PanelToplevel *toplevel, #endif { #if GTK_CHECK_VERSION (3, 0, 0) - panel_profile_set_background_gdk_rgba_color (toplevel, color); + panel_profile_set_background_gdk_rgba (toplevel, color); #else panel_profile_set_background_gdk_color (toplevel, &color->gdk); panel_profile_set_background_opacity (toplevel, color->alpha); @@ -256,7 +256,7 @@ panel_profile_get_background_color (PanelToplevel *toplevel, #endif { #if GTK_CHECK_VERSION (3, 0, 0) - panel_profile_get_background_gdk_rgba_color (toplevel, color); + panel_profile_get_background_gdk_rgba (toplevel, color); #else panel_profile_get_background_gdk_color (toplevel, &(color->gdk)); color->alpha = panel_profile_get_background_opacity (toplevel); @@ -265,7 +265,7 @@ panel_profile_get_background_color (PanelToplevel *toplevel, #if GTK_CHECK_VERSION (3, 0, 0) void -panel_profile_set_background_gdk_rgba_color (PanelToplevel *toplevel, +panel_profile_set_background_gdk_rgba (PanelToplevel *toplevel, GdkRGBA *color) { char *color_str; @@ -278,7 +278,7 @@ panel_profile_set_background_gdk_rgba_color (PanelToplevel *toplevel, } void -panel_profile_get_background_gdk_rgba_color (PanelToplevel *toplevel, +panel_profile_get_background_gdk_rgba (PanelToplevel *toplevel, GdkRGBA *color) { char *color_str; diff --git a/mate-panel/panel-profile.h b/mate-panel/panel-profile.h index ffa43af3..ff690527 100644 --- a/mate-panel/panel-profile.h +++ b/mate-panel/panel-profile.h @@ -123,9 +123,9 @@ void panel_profile_get_background_color (PanelToplevel *topl #endif #if GTK_CHECK_VERSION (3, 0, 0) -void panel_profile_set_background_gdk_rgba_color (PanelToplevel *toplevel, +void panel_profile_set_background_gdk_rgba (PanelToplevel *toplevel, GdkRGBA *color); -void panel_profile_get_background_gdk_rgba_color (PanelToplevel *toplevel, +void panel_profile_get_background_gdk_rgba (PanelToplevel *toplevel, GdkRGBA *color); #else void panel_profile_set_background_gdk_color (PanelToplevel *toplevel, diff --git a/mate-panel/panel-properties-dialog.c b/mate-panel/panel-properties-dialog.c index d674f7b4..de113812 100644 --- a/mate-panel/panel-properties-dialog.c +++ b/mate-panel/panel-properties-dialog.c @@ -341,8 +341,8 @@ panel_properties_dialog_color_changed (PanelPropertiesDialog *dialog, #if GTK_CHECK_VERSION (3, 0, 0) mate_color_button_get_rgba (color_button, &color); - panel_profile_set_background_gdk_rgba_color (dialog->toplevel, &color); - panel_properties_dialog_opacity_changed(dialog); + panel_profile_set_background_gdk_rgba (dialog->toplevel, &color); + panel_properties_dialog_opacity_changed (dialog); #else mate_color_button_get_color (color_button, &color); panel_profile_set_background_gdk_color (dialog->toplevel, &color); |