[gnome-keyring] secret-prompt: don't explicitly disconnect skeleton signals



commit e53af4d55052b879581abf6af66b8a067dfb86df
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Sat Oct 17 09:36:48 2015 -0700

    secret-prompt: don't explicitly disconnect skeleton signals
    
    After we are unexported, those signals will not be emitted anymore.

 daemon/dbus/gkd-secret-prompt.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/daemon/dbus/gkd-secret-prompt.c b/daemon/dbus/gkd-secret-prompt.c
index f0a6d63..c96d911 100644
--- a/daemon/dbus/gkd-secret-prompt.c
+++ b/daemon/dbus/gkd-secret-prompt.c
@@ -207,8 +207,6 @@ gkd_secret_prompt_unexport (GkdSecretPrompt *self)
 {
        g_return_if_fail (self->pv->skeleton != NULL);
        g_dbus_interface_skeleton_unexport (G_DBUS_INTERFACE_SKELETON (self->pv->skeleton));
-       g_signal_handlers_disconnect_by_func (self->pv->skeleton, prompt_method_dismiss, self);
-       g_signal_handlers_disconnect_by_func (self->pv->skeleton, prompt_method_prompt, self);
        g_clear_object (&self->pv->skeleton);
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]