Hi,

That's of course necessary for C++ programs to include the header.
(It took me two hours to realize... duh)

Cheers,
Marko
Index: src/libtracker/tracker.h
===================================================================
--- src/libtracker/tracker.h	(revision 822)
+++ src/libtracker/tracker.h	(working copy)
@@ -20,6 +20,10 @@
 #ifndef TRACKER_H
 #define TRACKER_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #include "tracker-client.h"
 
 typedef void (*TrackerArrayReply) (char **result, GError *error, gpointer user_data);
@@ -209,4 +213,8 @@
 void tracker_search_metadata_by_text_and_mime_and_location_async	(TrackerClient *client, const char *query, const char **mimes, const char *location, TrackerArrayReply callback, gpointer user_data);
 void tracker_search_metadata_by_text_and_location_async			(TrackerClient *client, const char *query, const char *location, TrackerArrayReply callback, gpointer user_data);
 
+#ifdef __cplusplus
+}  /* extern "C" */
+#endif
+
 #endif /* TRACKER_H */
_______________________________________________
tracker-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/tracker-list

Reply via email to