diff options
author | Ken VanDine <ken.vandine@canonical.com> | 2011-10-13 15:50:54 -0400 |
---|---|---|
committer | Ken VanDine <ken.vandine@canonical.com> | 2011-10-13 15:50:54 -0400 |
commit | 6444bc4c4bbdf4919376c343a0d6211c8389ea02 (patch) | |
tree | 0ac1aa3824b0e5e5c282e51e6f1e42a810e3f4db /src/apt-watcher.c | |
parent | e386410ad848c62080673eb7ff584bf0b39b765b (diff) | |
parent | 374c13ec920a441b4481db53f6516ca78e79de91 (diff) | |
download | ayatana-indicator-session-6444bc4c4bbdf4919376c343a0d6211c8389ea02.tar.gz ayatana-indicator-session-6444bc4c4bbdf4919376c343a0d6211c8389ea02.tar.bz2 ayatana-indicator-session-6444bc4c4bbdf4919376c343a0d6211c8389ea02.zip |
* New upstream release.
* Fix some variant ref issues causing crashes (LP: #863930)
* Handle cases of returned dbus messages from ConsoleKit (LP: #864085)
* Fixed improperly mapped gconf to gsettings keys (LP: #858798)
Diffstat (limited to 'src/apt-watcher.c')
-rw-r--r-- | src/apt-watcher.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/apt-watcher.c b/src/apt-watcher.c index d8bb7e2..481029a 100644 --- a/src/apt-watcher.c +++ b/src/apt-watcher.c @@ -425,7 +425,7 @@ static void apt_watcher_signal_cb ( GDBusProxy* proxy, g_return_if_fail (APT_IS_WATCHER (user_data)); AptWatcher* self = APT_WATCHER (user_data); - g_variant_ref (parameters); + g_variant_ref_sink (parameters); GVariant *value = g_variant_get_child_value (parameters, 0); if (g_strcmp0(signal_name, "ActiveTransactionsChanged") == 0){ @@ -477,6 +477,7 @@ static void apt_watcher_signal_cb ( GDBusProxy* proxy, } } + g_variant_unref (value); g_variant_unref (parameters); } |