tracker-0.16.2/src/libtracker-miner/tracker-utils.c

No issues found

 1 /*
 2  * Copyright (C) 2009, Nokia <ivan.frade@nokia.com>
 3  *
 4  * This library is free software; you can redistribute it and/or
 5  * modify it under the terms of the GNU Lesser General Public
 6  * License as published by the Free Software Foundation; either
 7  * version 2.1 of the License, or (at your option) any later version.
 8  *
 9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the
16  * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17  * Boston, MA  02110-1301, USA.
18  */
19 
20 #include "config.h"
21 
22 #include "tracker-utils.h"
23 
24 gboolean
25 tracker_accumulator_check_file (GSignalInvocationHint *hint,
26                                 GValue                *return_accumulator,
27                                 const GValue          *handler_return,
28                                 gpointer               accumulator_data)
29 {
30 	gboolean use;
31 
32 	use = g_value_get_boolean (handler_return);
33 	g_value_set_boolean (return_accumulator, use);
34 
35 	return (use == TRUE);
36 }