Hey!

>
> Thanks a lot for your (as always) kind answer. I am using libmm-glib! :)
> I am putting some code togeter but I haven't found the "proper" way to do so, 
> at least not so far.
>

static void
bearers_updated (MMModem *modem,
                             GParamSpec *pspec,
                             gpointer user_data)
{
    GList *list;

    // When this callback is called, the property in the MMModem
already has the latest value
    list = mm_modem_list_bearers_sync (...)
}

g_signal_connect (modem, "notify::bearers", G_CALLBACK
(bearers_updated), some_user_data);

-- 
Aleksander
https://aleksander.es

Reply via email to