[dconf/wip/reorg] GDBus filter backend: return FALSE in error case
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dconf/wip/reorg] GDBus filter backend: return FALSE in error case
- Date: Fri, 6 Jul 2012 04:21:23 +0000 (UTC)
commit dbf4f8cd7fd1804ec4bfb6780a6cc01d7feaf45b
Author: Ryan Lortie <desrt desrt ca>
Date: Thu Jul 5 23:34:32 2012 -0400
GDBus filter backend: return FALSE in error case
We were setting the GError properly, but not actually returning FALSE.
gdbus/dconf-gdbus-filter.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gdbus/dconf-gdbus-filter.c b/gdbus/dconf-gdbus-filter.c
index a5d4400..d0c0654 100644
--- a/gdbus/dconf-gdbus-filter.c
+++ b/gdbus/dconf-gdbus-filter.c
@@ -34,6 +34,8 @@ connection_state_ensure_success (ConnectionState *state,
{
if (error)
*error = g_error_copy (state->data);
+
+ return FALSE;
}
return TRUE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]