diff options
author | monsta <[email protected]> | 2016-01-05 20:41:54 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-01-05 20:41:54 +0300 |
commit | 20b45d18e1bdf2d86c406159fce5b39b55e55305 (patch) | |
tree | 3e8f44d53337c819c525defda857b9ad15999426 | |
parent | c0ee3dae38adf305b4e31a0c8c2d1da532f1a4e5 (diff) | |
download | mate-panel-20b45d18e1bdf2d86c406159fce5b39b55e55305.tar.bz2 mate-panel-20b45d18e1bdf2d86c406159fce5b39b55e55305.tar.xz |
profile: rename get/set rgba functions for consistency
-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); |