diff options
| author | Ted Gould <ted@gould.cx> | 2011-07-07 15:32:09 -0500 |
|---|---|---|
| committer | Ted Gould <ted@gould.cx> | 2011-07-07 15:32:09 -0500 |
| commit | 1e42facce6ffa20a39d1bb96aba4124604381976 (patch) | |
| tree | 3214de209971404b11785b220a71687e623ef6e8 /tests/test-approver.c | |
| parent | f374f8e3f2223684bfce3b2cd811d41e5f553ce0 (diff) | |
| parent | 457dd74bc8752065e9558f5a67a50635a06b8ffc (diff) | |
| download | ayatana-indicator-application-1e42facce6ffa20a39d1bb96aba4124604381976.tar.gz ayatana-indicator-application-1e42facce6ffa20a39d1bb96aba4124604381976.tar.bz2 ayatana-indicator-application-1e42facce6ffa20a39d1bb96aba4124604381976.zip | |
* New upstream release.
* Build with libindicator 0.4
Diffstat (limited to 'tests/test-approver.c')
| -rw-r--r-- | tests/test-approver.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test-approver.c b/tests/test-approver.c index 6fc75c5..bacdc67 100644 --- a/tests/test-approver.c +++ b/tests/test-approver.c @@ -149,6 +149,11 @@ register_cb (GObject *object, GAsyncResult *res, gpointer user_data) result = g_dbus_proxy_call_finish(proxy, res, &error); + if (result != NULL) { + g_variant_unref(result); + result = NULL; + } + if (error != NULL) { g_warning("Unable to register approver: %s", error->message); g_error_free(error); |
