[tracker/miner-twitter: 3/3] twitter miner: Correctly check for librest
- From: Adrien Bustany <abustany src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/miner-twitter: 3/3] twitter miner: Correctly check for librest
- Date: Wed, 10 Mar 2010 12:55:10 +0000 (UTC)
commit 024854e7f21e53131705ae81d56c6ebe4172dc63
Author: Adrien Bustany <abustany gnome org>
Date: Tue Mar 9 08:51:37 2010 -0300
twitter miner: Correctly check for librest
configure.ac | 4 ++--
.../tracker-miner-twitter.vala | 4 ++++
2 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index b6b0d9d..bc6b9c3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -805,7 +805,7 @@ AC_ARG_ENABLE(miner_twitter,
if test "x$enable_miner_twitter" != "xno"; then
PKG_CHECK_MODULES(MINER_TWITTER,
- [ rest-0.6 >= $REST_REQUIRED twitter-glib-1.0 >= $TWITTER_GLIB_REQUIRED ],
+ [ rest >= $REST_REQUIRED twitter-glib-1.0 >= $TWITTER_GLIB_REQUIRED ],
[have_miner_twitter_deps=yes],
[have_miner_twitter_deps=no])
AC_SUBST(MINER_TWITTER_LIBS)
@@ -814,7 +814,7 @@ fi
if test "x$enable_miner_twitter" = "xyes"; then
if test "x$have_miner_twitter_deps" != "xyes"; then
- AC_MSG_ERROR([Couldn't find the required dependencies for the Twitter miner: rest-0.6 >= $REST_REQUIRED.])
+ AC_MSG_ERROR([Couldn't find the required dependencies for the Twitter miner: rest >= $REST_REQUIRED.])
fi
fi
diff --git a/src/tracker-miner-twitter/tracker-miner-twitter.vala b/src/tracker-miner-twitter/tracker-miner-twitter.vala
index 0abf85b..41fda71 100644
--- a/src/tracker-miner-twitter/tracker-miner-twitter.vala
+++ b/src/tracker-miner-twitter/tracker-miner-twitter.vala
@@ -384,6 +384,10 @@ public class MinerTwitter : Tracker.MinerWeb {
}
}
+ public GLib.HashTable get_association_data () throws Tracker.MinerWebError {
+ return new HashTable<string, string>(str_hash, str_equal);
+ }
+
private static bool in_loop = false;
private static void signal_handler (int signo) {
if (in_loop) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]