summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVivek Dasmohapatra <vivek@collabora.co.uk>2010-10-12 15:24:40 +0100
committerVivek Dasmohapatra <vivek@collabora.co.uk>2010-10-12 15:43:43 +0100
commit6d6ab7387c99df31b071b7cce8d617ff46d87cf8 (patch)
tree45caf56c9e6269f0e084eb27be9739c75dfa8121
parent4c9c8f48f1b3b86ea46c46055d4c2e5ef926cb5a (diff)
downloadtelepathy-mission-control-6d6ab7387c99df31b071b7cce8d617ff46d87cf8.tar.gz
Fix up g_log related helpers so they build (bad comparison, bad func signature)
-rw-r--r--test/account-store-libaccounts.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/account-store-libaccounts.c b/test/account-store-libaccounts.c
index 13a2233b..e434d97e 100644
--- a/test/account-store-libaccounts.c
+++ b/test/account-store-libaccounts.c
@@ -41,21 +41,24 @@
#undef G_LOG_DOMAIN
#define G_LOG_DOMAIN "account-store-libaccounts"
+
+/* logging helpers: */
static void
_g_log_handler (const gchar *log_domain,
GLogLevelFlags log_level,
const gchar *message,
gpointer unused_data)
{
- if (log_domain != G_LOG_DOMAIN)
+ /* the libaccounts code is currently very chatty when debugging: *
+ * we are only interested in or own debugging output for now. */
+ if ((gchar *)log_domain != (gchar *)G_LOG_DOMAIN)
return;
g_log_default_handler (log_domain, log_level, message, unused_data);
}
-/* libaccounts is incredibly chatty */
static void
-toggle_mute ()
+toggle_mute (void)
{
static GLogFunc old = NULL;