Re: [PATCH BlueZ 3/3] core: Attach and detach object manager

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

 



Hi Lucas,

On Thu, Nov 29, 2012 at 3:19 PM, Lucas De Marchi
<lucas.demarchi@xxxxxxxxxxxxxx> wrote:
> From: Lucas De Marchi <lucas.de.marchi@xxxxxxxxx>
>
> ---
>  src/main.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/src/main.c b/src/main.c
> index 414849a..ccb5fa5 100644
> --- a/src/main.c
> +++ b/src/main.c
> @@ -381,6 +381,7 @@ static void disconnect_dbus(void)
>         if (!conn || !dbus_connection_get_is_connected(conn))
>                 return;
>
> +       g_dbus_detach_object_manager(conn);
>         set_dbus_connection(NULL);
>
>         dbus_connection_unref(conn);
> @@ -412,6 +413,7 @@ static int connect_dbus(void)
>         set_dbus_connection(conn);
>
>         g_dbus_set_disconnect_function(conn, disconnected_dbus, NULL, NULL);
> +       g_dbus_attach_object_manager(conn);
>
>         return 0;
>  }
> --
> 1.8.0.1

Ack.


--
Luiz Augusto von Dentz
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux