Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
tracker-miners
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
26
Issues
26
List
Boards
Labels
Milestones
Merge Requests
8
Merge Requests
8
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
GNOME
tracker-miners
Commits
a636b15c
Commit
a636b15c
authored
Sep 28, 2009
by
Martyn Russell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tracker-miner-fs: Removed tracker-utils.[ch], no longer used
parent
75ad5572
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1 addition
and
78 deletions
+1
-78
src/tracker-miner-fs/Makefile.am
src/tracker-miner-fs/Makefile.am
+1
-3
src/tracker-miner-fs/tracker-utils.c
src/tracker-miner-fs/tracker-utils.c
+0
-43
src/tracker-miner-fs/tracker-utils.h
src/tracker-miner-fs/tracker-utils.h
+0
-31
tests/tracker-miner-fs/Makefile.am
tests/tracker-miner-fs/Makefile.am
+0
-1
No files found.
src/tracker-miner-fs/Makefile.am
View file @
a636b15c
...
...
@@ -26,9 +26,7 @@ tracker_miner_fs_SOURCES = \
tracker-miner-files.c
\
tracker-miner-files.h
\
tracker-thumbnailer.c
\
tracker-thumbnailer.h
\
tracker-utils.c
\
tracker-utils.h
tracker-thumbnailer.h
tracker_miner_fs_LDADD
=
\
$(top_builddir)
/src/libtracker-data/libtracker-data.la
\
...
...
src/tracker-miner-fs/tracker-utils.c
deleted
100644 → 0
View file @
75ad5572
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
* Copyright (C) 2009, Nokia (urho.konttori@nokia.com)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA.
*/
#include "config.h"
#include "tracker-utils.h"
void
tracker_throttle
(
TrackerConfig
*
config
,
gint
multiplier
)
{
gint
throttle
;
g_return_if_fail
(
TRACKER_IS_CONFIG
(
config
));
/* Get the throttle, add 5 (minimum value) so we don't do
* nothing and then multiply it by the factor given
*/
throttle
=
tracker_config_get_throttle
(
config
);
/* throttle += 5; */
throttle
*=
multiplier
;
if
(
throttle
>
0
)
{
g_usleep
(
throttle
);
}
}
src/tracker-miner-fs/tracker-utils.h
deleted
100644 → 0
View file @
75ad5572
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
* Copyright (C) 2009, Nokia
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA.
*/
#ifndef __TRACKER_MINER_FS_UTILS_H__
#define __TRACKER_MINER_FS_UTILS_H__
#include <glib.h>
#include "tracker-config.h"
void
tracker_throttle
(
TrackerConfig
*
config
,
gint
multiplier
);
#endif
/* __TRACKER_MINER_FS_UTILS_H__ */
tests/tracker-miner-fs/Makefile.am
View file @
a636b15c
...
...
@@ -27,7 +27,6 @@ tracker_metadata_utils_SOURCES = \
$(top_srcdir)
/src/tracker-miner-fs/tracker-config.c
\
$(top_srcdir)
/src/tracker-miner-fs/tracker-marshal.c
\
$(top_srcdir)
/src/tracker-miner-fs/tracker-thumbnailer.c
\
$(top_srcdir)
/src/tracker-miner-fs/tracker-utils.c
\
tracker-metadata-utils-test.c
tracker_metadata_utils_LDADD
=
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment