[dconf/wip/reorg: 475/498] GDBus filter backend: return FALSE in error case



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]