[telepathy-mission-control/master] McdDispatchOperation: remove ready-to-dispatch signal

Simon McVittie simon.mcvittie at collabora.co.uk
Mon Nov 2 06:41:54 PST 2009


Now that the dispatching logic is mostly in the McdDispatchOperation,
nothing needs this signal.
---
 src/mcd-dispatch-operation.c |   17 -----------------
 1 files changed, 0 insertions(+), 17 deletions(-)

diff --git a/src/mcd-dispatch-operation.c b/src/mcd-dispatch-operation.c
index b69a616..280c422 100644
--- a/src/mcd-dispatch-operation.c
+++ b/src/mcd-dispatch-operation.c
@@ -75,14 +75,6 @@ G_DEFINE_TYPE_WITH_CODE (McdDispatchOperation, _mcd_dispatch_operation,
     G_IMPLEMENT_INTERFACE (TP_TYPE_SVC_DBUS_PROPERTIES, properties_iface_init);
     )
 
-enum
-{
-    S_READY_TO_DISPATCH,
-    N_SIGNALS
-};
-
-static guint signals[N_SIGNALS] = { 0 };
-
 struct _McdDispatchOperationPrivate
 {
     const gchar *unique_name;   /* borrowed from object_path */
@@ -483,8 +475,6 @@ mcd_dispatch_operation_actually_finish (McdDispatchOperation *self)
         _mcd_dispatch_operation_set_approved (self);
     }
 
-    g_signal_emit (self, signals[S_READY_TO_DISPATCH], 0);
-
     if (self->priv->claim_context != NULL)
     {
         DEBUG ("Replying to Claim call from %s", self->priv->claimer);
@@ -925,13 +915,6 @@ _mcd_dispatch_operation_class_init (McdDispatchOperationClass * klass)
                               "appear on D-Bus", FALSE,
                               G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
                               G_PARAM_STATIC_STRINGS));
-
-    signals[S_READY_TO_DISPATCH] = g_signal_new ("ready-to-dispatch",
-        G_OBJECT_CLASS_TYPE (klass),
-        G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
-        0, NULL, NULL,
-        g_cclosure_marshal_VOID__VOID,
-        G_TYPE_NONE, 0);
 }
 
 static void
-- 
1.5.6.5




More information about the telepathy-commits mailing list