diff options
author | Ted Gould <ted@gould.cx> | 2012-02-12 12:39:48 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2012-02-12 12:39:48 -0600 |
commit | e9851134f237b42123c53a04f4ba611a403a4337 (patch) | |
tree | 0f0753e716295df7996281bc97dbe6260f3afc65 /src/application-service-appstore.c | |
parent | 8c0ecc8e811e697b208779be157c78378cfba2d3 (diff) | |
parent | 6d9ffd0af933bcc154d97f83f2385b8b7df70c74 (diff) | |
download | ayatana-indicator-application-e9851134f237b42123c53a04f4ba611a403a4337.tar.gz ayatana-indicator-application-e9851134f237b42123c53a04f4ba611a403a4337.tar.bz2 ayatana-indicator-application-e9851134f237b42123c53a04f4ba611a403a4337.zip |
Unreffing the result of the approval message
Diffstat (limited to 'src/application-service-appstore.c')
-rw-r--r-- | src/application-service-appstore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/application-service-appstore.c b/src/application-service-appstore.c index e11883f..2f456f4 100644 --- a/src/application-service-appstore.c +++ b/src/application-service-appstore.c @@ -1466,6 +1466,7 @@ approver_request_cb (GObject *object, GAsyncResult *res, gpointer user_data) if (error == NULL) { g_variant_get(result, "(b)", &approved); g_debug("Approver responded: %s", approved ? "approve" : "rejected"); + g_variant_unref(result); } else { g_debug("Approver responded error: %s", error->message); @@ -1654,4 +1655,3 @@ approver_receive_signal (GDBusProxy * proxy, gchar * sender_name, gchar * signal return; } - |