tracker r2982 - in trunk: . src/trackerd



Author: carlosg
Date: Thu Feb 26 17:21:52 2009
New Revision: 2982
URL: http://svn.gnome.org/viewvc/tracker?rev=2982&view=rev

Log:
2009-02-26  Carlos Garnacho  <carlos imendio com>

        * src/trackerd/tracker-xesam-live-search.c (get_hit_data): Do not use
        deprecated functions. Fixes #572237.

Modified:
   trunk/ChangeLog
   trunk/src/trackerd/tracker-xesam-live-search.c

Modified: trunk/src/trackerd/tracker-xesam-live-search.c
==============================================================================
--- trunk/src/trackerd/tracker-xesam-live-search.c	(original)
+++ trunk/src/trackerd/tracker-xesam-live-search.c	Thu Feb 26 17:21:52 2009
@@ -703,8 +703,7 @@
 											  G_TYPE_STRING));
 
 						my_array = g_ptr_array_new ();
-						g_value_set_boxed_take_ownership (variant,
-										  my_array);
+						g_value_take_boxed (variant, my_array);
 
 						g_ptr_array_add (row, variant);
 
@@ -733,7 +732,7 @@
 						my_array = g_array_new (FALSE,
 									 TRUE,
 									 sizeof (gfloat));
-						g_value_set_boxed_take_ownership (variant, my_array);
+						g_value_take_boxed (variant, my_array);
 
 						g_ptr_array_add (row, variant);
 					} else {
@@ -761,7 +760,7 @@
 						my_array = g_array_new (FALSE,
 									 TRUE,
 									 sizeof (gboolean));
-						g_value_set_boxed_take_ownership (variant, my_array);
+						g_value_take_boxed (variant, my_array);
 
 						g_ptr_array_add (row, variant);
 					} else {



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