gnome-power-manager r1844 - in trunk: . src



Author: rhughes
Date: 2007-02-01 20:19:16 +0000 (Thu, 01 Feb 2007)
New Revision: 1844
ViewCVS link: http://svn.gnome.org/viewcvs/gnome-power-manager?rev=1844&view=rev

Modified:
   trunk/ChangeLog
   trunk/src/gpm-info.c
Log:
2007-02-01  Richard Hughes  <richard hughsie com>

* src/gpm-info.c: (gpm_statistics_get_data):
Only try to get the percentage data if we are a laptop.
If we are not a laptop then info->priv->percentage_data will be NULL
and a dereference will kill gnome-power-manager.
Should fix the crash reported by Kjartan Maraas in #402823.





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