[gnome-themes-standard] adwaita: Fix variable names
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] adwaita: Fix variable names
- Date: Wed, 12 Dec 2012 14:42:42 +0000 (UTC)
commit 0b8287458985ef704f0e52fe6f68b657e15c7be6
Author: Benjamin Otte <otte redhat com>
Date: Wed Dec 12 14:28:41 2012 +0100
adwaita: Fix variable names
GCC figured this one out, claiming variables were used uninitialized.
themes/Adwaita/gtk-2.0/adwaita_engine.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/themes/Adwaita/gtk-2.0/adwaita_engine.c b/themes/Adwaita/gtk-2.0/adwaita_engine.c
index 5cec5f8..e1c9425 100644
--- a/themes/Adwaita/gtk-2.0/adwaita_engine.c
+++ b/themes/Adwaita/gtk-2.0/adwaita_engine.c
@@ -106,8 +106,8 @@ adwaita_draw_box (GtkStyle * style,
gdouble stop_1, stop_2, stop_3;
stop_1 = MIN (1.0, 6.0 / (gdouble) height);
- stop_2 = MAX (stop_2, 0.33);
- stop_3 = MAX (stop_3, 0.66);
+ stop_2 = MAX (stop_1, 0.33);
+ stop_3 = MAX (stop_2, 0.66);
cairo_pattern_add_color_stop_rgba (pattern, 0.0, 0.66, 0.66, 0.66, 0.0);
cairo_pattern_add_color_stop_rgba (pattern, stop_1, 0.66, 0.66, 0.66, 0.25);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]