[gtk+/wip/cssvalue] xxx: easevalue
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/cssvalue] xxx: easevalue
- Date: Mon, 2 Apr 2012 09:19:22 +0000 (UTC)
commit af603e3aa07069fd9bd8796905ad2abf7a6e7871
Author: Benjamin Otte <otte redhat com>
Date: Sun Apr 1 07:40:03 2012 +0200
xxx: easevalue
gtk/gtkcsseasevalue.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/gtk/gtkcsseasevalue.c b/gtk/gtkcsseasevalue.c
index e3a9277..17e8004 100644
--- a/gtk/gtkcsseasevalue.c
+++ b/gtk/gtkcsseasevalue.c
@@ -176,16 +176,16 @@ _gtk_css_ease_value_parse (GtkCssParser *parser)
{
g_return_val_if_fail (parser != NULL, NULL);
- if (_gtk_css_parser_try (parser, "ease", TRUE))
- return _gtk_css_ease_value_new_cubic_bezier (0.25, 0.1, 0.25, 1.0);
- else if (_gtk_css_parser_try (parser, "linear", TRUE))
+ if (_gtk_css_parser_try (parser, "linear", TRUE))
return _gtk_css_ease_value_new_cubic_bezier (0.0, 0.0, 1.0, 1.0);
+ else if (_gtk_css_parser_try (parser, "ease-in-out", TRUE))
+ return _gtk_css_ease_value_new_cubic_bezier (0.42, 0.0, 0.58, 1.0);
else if (_gtk_css_parser_try (parser, "ease-in", TRUE))
return _gtk_css_ease_value_new_cubic_bezier (0.42, 0.0, 1.0, 1.0);
else if (_gtk_css_parser_try (parser, "ease-out", TRUE))
return _gtk_css_ease_value_new_cubic_bezier (0.0, 0.0, 0.58, 1.0);
- else if (_gtk_css_parser_try (parser, "ease-in-out", TRUE))
- return _gtk_css_ease_value_new_cubic_bezier (0.42, 0.0, 0.58, 1.0);
+ else if (_gtk_css_parser_try (parser, "ease", TRUE))
+ return _gtk_css_ease_value_new_cubic_bezier (0.25, 0.1, 0.25, 1.0);
else if (_gtk_css_parser_try (parser, "step-start", TRUE))
return _gtk_css_ease_value_new_steps (1, TRUE);
else if (_gtk_css_parser_try (parser, "step-end", TRUE))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]