gnome-power-manager r1991 - in trunk: . libhal-glib src test



Author: rhughes
Date: 2007-03-07 12:43:57 +0000 (Wed, 07 Mar 2007)
New Revision: 1991
ViewCVS link: http://svn.gnome.org/viewcvs/gnome-power-manager?rev=1991&view=rev

Modified:
   trunk/ChangeLog
   trunk/libhal-glib/libhal-gdevicestore.c
   trunk/src/gpm-battery.c
   trunk/test/gpm-self-test.c
Log:
2007-03-07  Richard Hughes  <richard hughsie com>

* libhal-glib/libhal-gdevicestore.c: (hal_gdevicestore_remove):
Unref the device because this may be the only pointer to this instance.

* test/gpm-self-test.c: (test_hal_devicestore):
Fix the test to ref the object before deletion else we get an error.

* src/gpm-battery.c:
Switch to using libhal-glib functions rather than gpm-hal and a custom
hacky hashtable implimentation.
Unplug and plug events are also handled much quicker now!





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]