aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.co.uk>2012-10-08 20:28:22 +0800
committerXavier Claessens <xavier.claessens@collabora.co.uk>2012-10-08 20:29:41 +0800
commite3e1b92843738ae7ac82ef19da214cc6a7083ace (patch)
treec25f4b385d42697696deb9e8013e065b299d4b82
parent3dd0c5d687be8936829fa704f0909601ae1b033d (diff)
downloadgsoc2013-empathy-e3e1b92843738ae7ac82ef19da214cc6a7083ace.tar
gsoc2013-empathy-e3e1b92843738ae7ac82ef19da214cc6a7083ace.tar.gz
gsoc2013-empathy-e3e1b92843738ae7ac82ef19da214cc6a7083ace.tar.bz2
gsoc2013-empathy-e3e1b92843738ae7ac82ef19da214cc6a7083ace.tar.lz
gsoc2013-empathy-e3e1b92843738ae7ac82ef19da214cc6a7083ace.tar.xz
gsoc2013-empathy-e3e1b92843738ae7ac82ef19da214cc6a7083ace.tar.zst
gsoc2013-empathy-e3e1b92843738ae7ac82ef19da214cc6a7083ace.zip
UOA mc plugin: Fix build errors
-rw-r--r--ubuntu-online-accounts/mc-plugin/mcp-account-manager-uoa.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/ubuntu-online-accounts/mc-plugin/mcp-account-manager-uoa.c b/ubuntu-online-accounts/mc-plugin/mcp-account-manager-uoa.c
index c46a5f89f..304e4f38a 100644
--- a/ubuntu-online-accounts/mc-plugin/mcp-account-manager-uoa.c
+++ b/ubuntu-online-accounts/mc-plugin/mcp-account-manager-uoa.c
@@ -463,7 +463,7 @@ account_manager_uoa_get (const McpAccountStorage *storage,
AgService *s;
gboolean handled = FALSE;
- g_return_if_fail (self->priv->manager != NULL);
+ g_return_val_if_fail (self->priv->manager != NULL, FALSE);
service = g_hash_table_lookup (self->priv->accounts, account_name);
if (service == NULL)
@@ -544,7 +544,7 @@ account_manager_uoa_set (const McpAccountStorage *storage,
AgAccountService *service;
AgAccount *account;
- g_return_if_fail (self->priv->manager != NULL);
+ g_return_val_if_fail (self->priv->manager != NULL, FALSE);
service = g_hash_table_lookup (self->priv->accounts, account_name);
if (service == NULL)
@@ -587,7 +587,7 @@ account_manager_uoa_create (const McpAccountStorage *storage,
AgAccountService *service;
GList *l;
- g_return_if_fail (self->priv->manager != NULL);
+ g_return_val_if_fail (self->priv->manager != NULL, NULL);
if (!self->priv->ready)
{
@@ -635,7 +635,7 @@ account_manager_uoa_delete (const McpAccountStorage *storage,
AgAccountService *service;
AgAccount *account;
- g_return_if_fail (self->priv->manager != NULL);
+ g_return_val_if_fail (self->priv->manager != NULL, FALSE);
service = g_hash_table_lookup (self->priv->accounts, account_name);
if (service == NULL)
@@ -668,7 +668,7 @@ account_manager_uoa_commit (const McpAccountStorage *storage,
DEBUG (G_STRFUNC);
- g_return_if_fail (self->priv->manager != NULL);
+ g_return_val_if_fail (self->priv->manager != NULL, FALSE);
g_hash_table_iter_init (&iter, self->priv->accounts);
while (g_hash_table_iter_next (&iter, NULL, &value))