Commit 7cac8e3c authored by Carlos Garnacho's avatar Carlos Garnacho Committed by Carlos Garnacho

Do not use deprecated functions. Fixes #572237.

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.

svn path=/trunk/; revision=2982
parent 03fe8929
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.
2009-02-26 Andre Klapper <a9016009@gmx.de>
* src/tracker-search-tool/tracker-search-tool-support.c:
......
......@@ -703,8 +703,7 @@ get_hit_data (TrackerXesamLiveSearch *self,
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 @@ get_hit_data (TrackerXesamLiveSearch *self,
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 @@ get_hit_data (TrackerXesamLiveSearch *self,
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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment