summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPekka Pessi <Pekka.Pessi@nokia.com>2011-02-04 17:00:36 +0200
committerPekka Pessi <Pekka.Pessi@nokia.com>2011-02-04 17:07:25 +0200
commit853d34d4b663486cf07c9158a9fa4e23346a030d (patch)
tree183180301f090dd3001fbc66530647bb26cede21 /src
parent2cd686d12c99c64125daef172f09734907f71a1e (diff)
ring-text-manager: disconnect incoming signals
Diffstat (limited to 'src')
-rw-r--r--src/ring-text-manager.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ring-text-manager.c b/src/ring-text-manager.c
index c03a78e..ad70c7c 100644
--- a/src/ring-text-manager.c
+++ b/src/ring-text-manager.c
@@ -393,9 +393,12 @@ static void
ring_text_manager_disconnect (RingTextManager *self)
{
RingTextManagerPrivate *priv = self->priv;
-#if nomore
ModemSMSService *sms = priv->sms_service;
+ ring_signal_disconnect (sms, &priv->signals.incoming_message);
+ ring_signal_disconnect (sms, &priv->signals.immediate_message);
+
+#if nomore
ring_signal_disconnect (sms, &priv->signals.receiving_sms_deliver);
ring_signal_disconnect (sms, &priv->signals.outgoing_sms_complete);
ring_signal_disconnect (sms, &priv->signals.outgoing_sms_error);