summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVivek Dasmohapatra <vivek@collabora.co.uk>2011-04-21 15:47:06 +0100
committerVivek Dasmohapatra <vivek@collabora.co.uk>2011-05-06 12:12:19 +0100
commit4ee6a19dcc186400d0d4b7a49ccbf9b70918561f (patch)
treeb92821866cd65e8762d20e75a3047b7ae15fc756 /src
parent02fbeb602b7406d5746afbe6e5bbc94dfd10e066 (diff)
Deleted parameters aren't stored, so there's no meaningful test to be done here
Diffstat (limited to 'src')
-rw-r--r--src/mcd-account.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/src/mcd-account.c b/src/mcd-account.c
index ca6a34b9..04109550 100644
--- a/src/mcd-account.c
+++ b/src/mcd-account.c
@@ -2175,19 +2175,10 @@ account_remove (TpSvcAccount *svc, DBusGMethodInvocation *context)
void
mcd_account_property_changed (McdAccount *account, const gchar *name)
{
- /* parameters are handled en bloc, but first make sure it's a valid name */
+ /* parameters are handled en bloc, reinvoke self with bloc key: */
if (g_str_has_prefix (name, "param-"))
{
- const gchar *param = name + strlen ("param-");
- GValue value = { 0, };
-
- /* check to see if the parameter was/is a valid one. If it was real,
- * kick off the en-bloc parameters update signal
- */
- if (mcd_account_get_parameter (account, param, &value, NULL))
- mcd_account_property_changed (account, "Parameters");
- else
- DEBUG ("Unknown/unset parameter %s", name);
+ mcd_account_property_changed (account, "Parameters");
}
else
{