summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2013-03-22 14:14:32 +0000
committerStefan Schmidt <s.schmidt@samsung.com>2013-03-22 14:14:32 +0000
commitf229398aebc92b74ab52d50e7251836ec2de8093 (patch)
tree0bf886d2a19b5b6a83af6126bfbc8fcce679c502
parentb2cc064c2fa0dd05d2d054f4587392eb44aba15a (diff)
elocation: Don'r rely on the callback for RemoveReference
Its in shutdown and we are not getting anything back from it anyway. No need to error out here.
-rw-r--r--src/lib/elocation.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/lib/elocation.c b/src/lib/elocation.c
index c77d8d5..6c1781e 100644
--- a/src/lib/elocation.c
+++ b/src/lib/elocation.c
@@ -720,15 +720,7 @@ _reference_add_cb(void *data, const EDBus_Message *reply, EDBus_Pending *pending
720static void 720static void
721_reference_del_cb(void *data, const EDBus_Message *reply, EDBus_Pending *pending) 721_reference_del_cb(void *data, const EDBus_Message *reply, EDBus_Pending *pending)
722{ 722{
723 const char *err, *errmsg; 723 /* Dummy callback. We are not waiting for any reply here on shutdown */
724
725 if (edbus_message_error_get(reply, &err, &errmsg))
726 {
727 ERR("Error: %s %s", err, errmsg);
728 return;
729 }
730
731 DBG("Reference removed");
732} 724}
733 725
734static void 726static void