diff options
author | Dominique Leuenberger <dimstar@opensuse.org> | 2015-09-02 13:39:54 +0200 |
---|---|---|
committer | Dominique Leuenberger <dimstar@opensuse.org> | 2015-09-02 13:39:54 +0200 |
commit | 60f6d1f6be5fb01c88babe246e06f620796ce319 (patch) | |
tree | 051ddf597114abfc928ddd435ae341a67e333394 | |
parent | 2d550c5bc70a47814fe8571e7389827c8f826476 (diff) | |
download | tracker-60f6d1f6be5fb01c88babe246e06f620796ce319.tar.gz |
libtracker-extract: fix dummy_module
The ModuleInfo typedef contains 6 items, of which the last is 'optional' (predefined).
TRUE as parameter for TrackerExtractShutdownFunc though is not a good idea: it's used as an
integer and passed as a pointer to a function call.
As there is no shudown function for the dummy module, just pass an additional NULL in there.
https://bugzilla.gnome.org/show_bug.cgi?id=754448
-rw-r--r-- | src/libtracker-extract/tracker-module-manager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libtracker-extract/tracker-module-manager.c b/src/libtracker-extract/tracker-module-manager.c index dc03200e6..175c83e54 100644 --- a/src/libtracker-extract/tracker-module-manager.c +++ b/src/libtracker-extract/tracker-module-manager.c @@ -46,7 +46,7 @@ static gboolean dummy_extract_func (TrackerExtractInfo *info); static ModuleInfo dummy_module = { NULL, TRACKER_MODULE_MAIN_THREAD, - dummy_extract_func, NULL, TRUE + dummy_extract_func, NULL, NULL, TRUE }; static GHashTable *modules = NULL; |