diff options
author | André Nusser <andre.nusser@googlemail.com> | 2016-02-21 21:54:19 +0100 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-02-22 15:11:02 -0500 |
commit | 1afbdaff58ac2b45ebf1ea046ff5a4d79b98be74 (patch) | |
tree | a8f857596cab0198530142601999912885758519 /libs/clearlooks-newer/clearlooks_style.c | |
parent | 86d27a736c8e654dd2c03cfa12511ebd3e40128b (diff) |
Fix compilation warnings. (libs part)
Diffstat (limited to 'libs/clearlooks-newer/clearlooks_style.c')
-rw-r--r-- | libs/clearlooks-newer/clearlooks_style.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libs/clearlooks-newer/clearlooks_style.c b/libs/clearlooks-newer/clearlooks_style.c index b1257f4878..fb0ca33239 100644 --- a/libs/clearlooks-newer/clearlooks_style.c +++ b/libs/clearlooks-newer/clearlooks_style.c @@ -56,7 +56,7 @@ static ClearlooksStyleClass *clearlooks_style_class; static GtkStyleClass *clearlooks_parent_class; static void -clearlooks_set_widget_parameters (const GtkWidget *widget, +clearlooks_set_widget_parameters (GtkWidget *widget, const GtkStyle *style, GtkStateType state_type, WidgetParameters *params) @@ -709,9 +709,9 @@ clearlooks_style_draw_box (DRAW_ARGS) if (!params.ltr) { - if (progressbar.orientation == GTK_PROGRESS_LEFT_TO_RIGHT) + if (progressbar.orientation == (ClearlooksOrientation)GTK_PROGRESS_LEFT_TO_RIGHT) progressbar.orientation = GTK_PROGRESS_RIGHT_TO_LEFT; - else if (progressbar.orientation == GTK_PROGRESS_RIGHT_TO_LEFT) + else if (progressbar.orientation == (ClearlooksOrientation)GTK_PROGRESS_RIGHT_TO_LEFT) progressbar.orientation = GTK_PROGRESS_LEFT_TO_RIGHT; } @@ -738,8 +738,8 @@ clearlooks_style_draw_box (DRAW_ARGS) } else { - if (progressbar.orientation == GTK_PROGRESS_RIGHT_TO_LEFT || - progressbar.orientation == GTK_PROGRESS_LEFT_TO_RIGHT) + if (progressbar.orientation == (ClearlooksOrientation)GTK_PROGRESS_RIGHT_TO_LEFT || + progressbar.orientation == (ClearlooksOrientation)GTK_PROGRESS_LEFT_TO_RIGHT) { tmp.x -= 1; tmp.width += 2; |