diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2007-09-18 21:48:01 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@src.gnome.org> | 2007-09-18 21:48:01 +0000 |
commit | 4c335374f2230569ed69ef6b5de95737a5347320 (patch) | |
tree | 135f22c7ea05f5b039d7e172231ad00a4f9d9e3f /gtk/gtksearchenginetracker.c | |
parent | 954eaad8c7724d90c0d1773cfd0328459f294561 (diff) | |
download | gtk+-4c335374f2230569ed69ef6b5de95737a5347320.tar.gz |
Search libtrackerclient.so.0 as libtracker changed the shared library
2007-09-18 Emmanuele Bassi <ebassi@gnome.org>
* gtk/gtksearchenginetracker.c: Search libtrackerclient.so.0
as libtracker changed the shared library name. (#478173,
Michael Kuhn)
svn path=/trunk/; revision=18846
Diffstat (limited to 'gtk/gtksearchenginetracker.c')
-rw-r--r-- | gtk/gtksearchenginetracker.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/gtk/gtksearchenginetracker.c b/gtk/gtksearchenginetracker.c index 941ad3f384..7d357f202e 100644 --- a/gtk/gtksearchenginetracker.c +++ b/gtk/gtksearchenginetracker.c @@ -71,10 +71,16 @@ open_libtracker (void) { int i; GModule *tracker; + GModuleFlags flags; done = TRUE; - - tracker = g_module_open ("libtracker.so.0", G_MODULE_BIND_LAZY | G_MODULE_BIND_LOCAL); + flags = G_MODULE_BIND_LAZY | G_MODULE_BIND_LOCAL; + + tracker = g_module_open ("libtrackerclient.so.0", flags); + + if (!tracker) + tracker = g_module_open ("libtracker.so.0", flags); + if (!tracker) return; |