gnome-power-manager r3310 - in trunk: . docs src
- From: rhughes svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-power-manager r3310 - in trunk: . docs src
- Date: Fri, 27 Feb 2009 16:05:18 +0000 (UTC)
Author: rhughes
Date: Fri Feb 27 16:05:17 2009
New Revision: 3310
URL: http://svn.gnome.org/viewvc/gnome-power-manager?rev=3310&view=rev
Log:
2009-02-27 Richard Hughes <richard hughsie com>
Fix compile with --enable-legacy-buttons
Modified:
trunk/ChangeLog
trunk/docs/dbus-interface.html
trunk/src/gpm-button.c
Modified: trunk/docs/dbus-interface.html
==============================================================================
--- trunk/docs/dbus-interface.html (original)
+++ trunk/docs/dbus-interface.html Fri Feb 27 16:05:17 2009
@@ -1,4 +1,4 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>GNOME Power Management Specification (with additions)</title><link rel="stylesheet" href="docbook.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.74.0"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="article" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="index"></a>GNOME Power Management Specification (with additions)</h2></div><div><div class="authorgroup"><div class="author"><h3 class="author"><span class="firstname">Richard</span> <span class="surname">Hughes</span></h3><div class="affiliation"><div class="address"><p><br>
+<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>GNOME Power Management Specification (with additions)</title><link rel="stylesheet" href="docbook.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.74.2"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="article" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="index"></a>GNOME Power Management Specification (with additions)</h2></div><div><div class="authorgroup"><div class="author"><h3 class="author"><span class="firstname">Richard</span> <span class="surname">Hughes</span></h3><div class="affiliation"><div class="address"><p><br>
ÂÂÂÂÂÂÂÂÂÂÂÂ<code class="email"><<a class="email" href="mailto:richard hughsie com">richard hughsie com</a>></code><br>
ÂÂÂÂÂÂÂÂÂÂ</p></div></div></div></div></div><div><p class="releaseinfo">Version 2.19.x</p></div></div><hr></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="#overview">Overview</a></span></dt><dt><span class="sect1"><a href="#dbus">DBUS API</a></span></dt><dd><dl><dt><span class="sect2"><a href="#dbus-core">Compulsory Basic Interface</a></span></dt><dt><span class="sect2"><a href="#dbus-backlight">Optional Backlight Interface</a></span></dt><dt><span class="sect2"><a href="#dbus-widget">Optional Widget Interface</a></span></dt><dt><span class="sect2"><a href="#dbus-inhibit">Optional Inhibit Interface</a></span></dt><dt><span class="sect2"><a href="#dbus-statistics">Optional Statistics Interface</a></span></dt></dl></dd></dl></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="overview"></a>Overview</h2></div></div></div><p>
A Power Management specification has been in used informally used for
Modified: trunk/src/gpm-button.c
==============================================================================
--- trunk/src/gpm-button.c (original)
+++ trunk/src/gpm-button.c Fri Feb 27 16:05:17 2009
@@ -499,13 +499,13 @@
* hal_daemon_new_device_cb
**/
static void
-hal_daemon_new_device_cb (HalGManager *hal_manager, const gchar *udi, GpmButton *button)
+hal_daemon_new_device_cb (HalManager *hal_manager, const gchar *udi, GpmButton *button)
{
gboolean is_button;
HalDevice *device;
- device = hal_gdevice_new ();
+ device = hal_device_new ();
hal_device_set_udi (device, udi);
hal_device_query_capability (device, "button", &is_button, NULL);
if (is_button == TRUE) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]