[gtk+/wip/cssvalue] xxx: transition style properties



commit df7d51bc601fb9c3c49a8d44792ead620621889b
Author: Benjamin Otte <otte redhat com>
Date:   Sun Apr 1 07:29:43 2012 +0200

    xxx: transition style properties

 gtk/gtkcssstylepropertyimpl.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkcssstylepropertyimpl.c b/gtk/gtkcssstylepropertyimpl.c
index 81d7bc9..56da29a 100644
--- a/gtk/gtkcssstylepropertyimpl.c
+++ b/gtk/gtkcssstylepropertyimpl.c
@@ -731,7 +731,7 @@ transition_property_parse (GtkCssStyleProperty *property,
   if (_gtk_css_parser_try (parser, "none", TRUE))
     return _gtk_css_array_value_new (NULL, 0);
 
-  names = g_ptr_array_new_with_free_func ((GDestroyNotify) _gtk_css_value_unref);
+  names = g_ptr_array_new ();
 
   do {
     name = _gtk_css_parser_try_ident (parser, TRUE);
@@ -759,7 +759,7 @@ transition_time_parse (GtkCssStyleProperty *property,
   GPtrArray *times;
   GtkCssValue *result, *next;
 
-  times = g_ptr_array_new_with_free_func ((GDestroyNotify) _gtk_css_value_unref);
+  times = g_ptr_array_new ();
 
   do {
     next = _gtk_css_number_value_parse (parser, GTK_CSS_PARSE_TIME);
@@ -786,7 +786,7 @@ transition_timing_function_parse (GtkCssStyleProperty *property,
   GPtrArray *funcs;
   GtkCssValue *result, *next;
 
-  funcs = g_ptr_array_new_with_free_func ((GDestroyNotify) _gtk_css_value_unref);
+  funcs = g_ptr_array_new ();
 
   do {
     next = _gtk_css_ease_value_parse (parser);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]