[gnome-contacts] search-provider: add missing app.release() call
- From: Marc-Andre Lureau <malureau src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-contacts] search-provider: add missing app.release() call
- Date: Wed, 22 Aug 2012 18:24:05 +0000 (UTC)
commit a168d6b5e0ed514de299420b3422cd9a6eb19683
Author: Marc-Andrà Lureau <marcandre lureau gmail com>
Date: Wed Aug 22 17:58:28 2012 +0200
search-provider: add missing app.release() call
During ActivateResult, release app in case the contact lookup is null.
src/contacts-shell-search-provider.vala | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/contacts-shell-search-provider.vala b/src/contacts-shell-search-provider.vala
index 0f829fc..9e1b076 100644
--- a/src/contacts-shell-search-provider.vala
+++ b/src/contacts-shell-search-provider.vala
@@ -111,8 +111,10 @@ public class Contacts.SearchProvider : Object {
var contact = contacts_map.get (search_id);
- if (contact == null)
+ if (contact == null) {
+ app.release ();
return;
+ }
string id = contact.individual.id;
try {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]