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

« back to all changes in this revision

Viewing changes to src/up-qos.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:
581
581
        if (qos->priv->fd[UP_QOS_KIND_NETWORK] < 0)
582
582
                g_debug ("cannot open network device file");
583
583
 
584
 
        qos->priv->connection = dbus_g_bus_get (up_daemon_get_bus_type (), &error);
 
584
        qos->priv->connection = dbus_g_bus_get (DBUS_BUS_SYSTEM, &error);
585
585
        if (error != NULL) {
586
586
                g_warning ("Cannot connect to bus: %s", error->message);
587
587
                g_error_free (error);