{
EmpathyAccount *account = EMPATHY_ACCOUNT (weak_object);
- DEBUG ("Got initial set of properties for %s",
+ DEBUG ("Got whole set of properties for %s",
empathy_account_get_unique_name (account));
if (error != NULL)
empathy_account_removed_cb,
NULL, NULL, object, NULL);
- tp_cli_dbus_properties_call_get_all (priv->account, -1,
- TP_IFACE_ACCOUNT,
- empathy_account_got_all_cb,
- NULL,
- NULL,
- G_OBJECT (account));
+ empathy_account_refresh_properties (account);
}
static void empathy_account_dispose (GObject *object);
return TRUE;
}
+void
+empathy_account_refresh_properties (EmpathyAccount *account)
+{
+ EmpathyAccountPriv *priv;
+
+ g_return_if_fail (EMPATHY_IS_ACCOUNT (account));
+
+ priv = GET_PRIV (account);
+
+ tp_cli_dbus_properties_call_get_all (priv->account, -1,
+ TP_IFACE_ACCOUNT,
+ empathy_account_got_all_cb,
+ NULL,
+ NULL,
+ G_OBJECT (account));
+}