[gtk+/wip/cssvalue] xx: query_length_as_double
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/cssvalue] xx: query_length_as_double
- Date: Wed, 4 Apr 2012 10:44:53 +0000 (UTC)
commit eac7f902dd2407738cbc439223c2abe3ce70ea41
Author: Benjamin Otte <otte redhat com>
Date: Tue Apr 3 18:49:52 2012 +0200
xx: query_length_as_double
gtk/gtkcssstylepropertyimpl.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkcssstylepropertyimpl.c b/gtk/gtkcssstylepropertyimpl.c
index 3d36789..d046e87 100644
--- a/gtk/gtkcssstylepropertyimpl.c
+++ b/gtk/gtkcssstylepropertyimpl.c
@@ -145,7 +145,7 @@ query_length_as_double (GtkCssStyleProperty *property,
GValue *value)
{
g_value_init (value, G_TYPE_DOUBLE);
- g_value_set_int (value, _gtk_css_number_value_get (css_value, 100));
+ g_value_set_double (value, _gtk_css_number_value_get (css_value, 100));
}
static GtkCssValue *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]