[Pkg-telepathy-commits] [telepathy-mission-control-6] 189/280: dbus-account-plugin: update internal cache correctly

Simon McVittie smcv at debian.org
Thu Mar 27 20:07:22 UTC 2014


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch debian
in repository telepathy-mission-control-6.

commit 93b822857d1898caed819baad7680a10a23e0486
Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date:   Thu Nov 14 16:29:02 2013 +0000

    dbus-account-plugin: update internal cache correctly
    
    The backend-makes-changes test replaces an typed parameter with an
    untyped parameter. We correctly signalled the change to MC,
    but didn't update the internal cache; the rather strange way in
    which MC receives attributes/parameters masked this bug.
    
    Bug: https://bugs.freedesktop.org/show_bug.cgi?id=27727
---
 tests/twisted/dbus-account-plugin.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/twisted/dbus-account-plugin.c b/tests/twisted/dbus-account-plugin.c
index e43d40e..7eaccc3 100644
--- a/tests/twisted/dbus-account-plugin.c
+++ b/tests/twisted/dbus-account-plugin.c
@@ -581,6 +581,7 @@ test_dbus_account_plugin_process_parameters (TestDBusAccountPlugin *self,
               (stored == NULL ||
                !g_variant_equal (value, stored)))
             {
+              g_hash_table_remove (account->parameters, param);
               g_hash_table_insert (account->untyped_parameters,
                   g_strdup (param), g_strdup (escaped));
               key = g_strdup_printf ("param-%s", param);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-telepathy/telepathy-mission-control-6.git



More information about the Pkg-telepathy-commits mailing list