~ubuntu-branches/ubuntu/wily/upower/wily

« back to all changes in this revision

Viewing changes to src/up-wakeups.c

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2013-03-19 19:19:51 UTC
  • mfrom: (17.1.4 experimental)
  • Revision ID: package-import@ubuntu.com-20130319191951-2lmdpe40kitm2zbx
Tags: 0.9.20-1
* New upstream release.
* Bump libpolkit-gobject-1-dev build dependency as per upstream
  configure.ac.
* Build with --enable-deprecated, we are not ready yet to drop
  suspend/hibernate functionality.
* Bump Standards-Version to 3.9.4. No changes necessary.
* Add "build" autopkgtest to compile/link/run a simple program against
  libupower-glib.
* Drop unnecessary "needs-root" restriction from upstream-system
  autopkgtest.
* Add no_deprecation_define.patch: Do not require applications to define
  UPOWER_ENABLE_DEPRECATED to access suspend/resume functionality. We are
  not ready to do that yet in Debian.

Show diffs side-by-side

added added

removed removed

Lines of Context:
743
743
        wakeups->priv->has_capability = FALSE;
744
744
        wakeups->priv->polling_enabled = FALSE;
745
745
 
746
 
        wakeups->priv->connection = dbus_g_bus_get (up_daemon_get_bus_type (), &error);
 
746
        wakeups->priv->connection = dbus_g_bus_get (DBUS_BUS_SYSTEM, &error);
747
747
        if (error != NULL) {
748
748
                g_warning ("Cannot connect to bus: %s", error->message);
749
749
                g_error_free (error);