gpm-button.c/gpm_button_client_changed_cb() compares

        if (button->priv->lid_is_closed == lid_is_closed)
                return;

gpm-button.c/gpm_button_class_init() adds struct GpmButtonPrivate but I
can't find an equivalent of

        /* coldplug so we are in the correct state at startup */
        g_object_get (manager->priv->client,
                      "on-battery", &manager->priv->on_battery,
                      NULL);

-- 
Laptop suspends when I connect/disconnect AC
https://bugs.launchpad.net/bugs/481312
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to