gtk2/libtracker.patch

23 lines
765 B
Diff
Raw Normal View History

2007-09-18 23:35:30 +00:00
diff -up gtk+-2.12.0/gtk/gtksearchenginetracker.c.libtracker gtk+-2.12.0/gtk/gtksearchenginetracker.c
--- gtk+-2.12.0/gtk/gtksearchenginetracker.c.libtracker 2007-09-18 19:29:57.000000000 -0400
+++ gtk+-2.12.0/gtk/gtksearchenginetracker.c 2007-09-18 19:30:54.000000000 -0400
@@ -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;