Remove the bus_name_id member from LAHandlerService
authorFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>
Mon, 6 Aug 2012 15:03:59 +0000 (16:03 +0100)
committerJannis Pohlmann <jannis.pohlmann@codethink.co.uk>
Mon, 6 Aug 2012 15:21:30 +0000 (16:21 +0100)
The bus_name_id member is not longer used in this class.

node-startup-controller/la-handler-service.c

index 56ba84b..3797644 100644 (file)
@@ -100,7 +100,6 @@ struct _LAHandlerService
 
   const gchar     *prefix;
   guint            index;
-  guint            bus_name_id;
 
   /* connection to the NSM consumer interface */
   NSMConsumer     *nsm_consumer;
@@ -212,9 +211,6 @@ la_handler_service_finalize (GObject *object)
   /* release the interface skeleton */
   g_dbus_interface_skeleton_unexport (G_DBUS_INTERFACE_SKELETON (service->interface));
 
-  /* release the bus name */
-  g_bus_unown_name (service->bus_name_id);
-
   /* release the NSM consumer service object, if there is one */
   if (service->nsm_consumer != NULL)
     g_object_unref (service->nsm_consumer);