[tracker/miner-web: 31/31] libtracker-miner: Add assertions in tracker-miner-web.c
- From: Adrien Bustany <abustany src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [tracker/miner-web: 31/31] libtracker-miner: Add assertions in tracker-miner-web.c
- Date: Thu, 12 Nov 2009 20:40:38 +0000 (UTC)
commit e95b8b9669874a064bf2e129d4bd6ff227f6e088
Author: Adrien Bustany <madcat mymadcat com>
Date: Thu Nov 12 17:36:16 2009 -0300
libtracker-miner: Add assertions in tracker-miner-web.c
src/libtracker-miner/tracker-miner-web.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-miner-web.c b/src/libtracker-miner/tracker-miner-web.c
index c84fd4a..f680404 100644
--- a/src/libtracker-miner/tracker-miner-web.c
+++ b/src/libtracker-miner/tracker-miner-web.c
@@ -151,6 +151,8 @@ tracker_miner_web_authenticate (TrackerMinerWeb *miner,
DBusGMethodInvocation *context,
GError **error)
{
+ g_assert (TRACKER_IS_MINER_WEB (miner));
+
GError *local_error = NULL;
TRACKER_MINER_WEB_GET_CLASS (miner)->authenticate (miner, &local_error);
@@ -166,6 +168,8 @@ tracker_miner_web_get_association_data (TrackerMinerWeb *miner,
DBusGMethodInvocation *context,
GError **error)
{
+ g_assert (TRACKER_IS_MINER_WEB (miner));
+
GError *local_error = NULL;
GHashTable *association_data = TRACKER_MINER_WEB_GET_CLASS (miner)->get_association_data (miner, &local_error);
@@ -182,6 +186,8 @@ tracker_miner_web_associate (TrackerMinerWeb *miner,
DBusGMethodInvocation *context,
GError **error)
{
+ g_assert (TRACKER_IS_MINER_WEB (miner));
+
GError *local_error = NULL;
TRACKER_MINER_WEB_GET_CLASS (miner)->associate (miner, association_data, &local_error);
@@ -197,6 +203,8 @@ tracker_miner_web_dissociate (TrackerMinerWeb *miner,
DBusGMethodInvocation *context,
GError **error)
{
+ g_assert (TRACKER_IS_MINER_WEB (miner));
+
GError *local_error = NULL;
TRACKER_MINER_WEB_GET_CLASS (miner)->dissociate (miner, &local_error);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]