summaryrefslogtreecommitdiff
path: root/battstat/battstat-upower.c
AgeCommit message (Collapse)AuthorFilesLines
2021-01-28Remove unnecessary casts on g_signal_connect callsrbuj1-1/+1
2020-09-03battstat: improve code-styleraveit651-41/+41
- tab to spaces - fix indents - add a space before brackets
2020-07-29battstat: Free only dynamically allocated memoryrbuj1-1/+1
2020-07-14battstat: bump upower required version and drop legacy coderaveit651-16/+0
2020-07-14batstatt: fix deprecated up_client_get_devicesraveit651-2/+2
The previous code would have leaked all the UpDevice objects because no free function was set on the returned GPtrArray. With depending on upower-glib 0.99.8 get_devices() was deprecated and get_devices2() was introduced, we can simply switch to get_devices2() which does set a free function on the returned GPtrArray, stopping the leak.
2020-04-16Remove unused-variable warningsrbuj1-15/+6
2019-06-16Update FSF addressLaurent Napias1-1/+1
2016-06-03fix some minor build warningsmonsta1-4/+4
2014-11-26batstat: sync upower code with gnome-applets.infirit1-4/+21
Largely taken from: gnome-applets commit: 95ff3ab8dfb5f595263dce6857b7d5935042e336 From: Dmitry Shachnev <[email protected]>
2014-11-26avoid dereferencing NULL pointerMonsta1-0/+1
Closes https://github.com/mate-desktop/mate-applets/pull/114
2014-06-02Replace GtkObject with GObject also for gtk2infirit1-6/+0
2014-01-20battstat: Add GTK3 supportStefano Karapetsas1-0/+6
Code taken from: https://git.gnome.org/browse/gnome-applets/commit/battstat?id=274f17fe92b98b5a0bdd31de734240b4cc6227e9 https://git.gnome.org/browse/gnome-applets/commit/battstat?id=137c00e2de6098b0ecef75ec208d58de138d7a82 https://git.gnome.org/browse/gnome-applets/commit/battstat?id=13522dcb2cb272b11214728c69c9ec179de78e2d
2013-11-10battstat: use g_signal notify for upower-1.0raveit651-1/+4
2013-11-10upower: fix upower versionraveit651-1/+1
2013-11-07battstat applet: ready for upower-1.0raveit651-0/+2
2012-10-09Fixed fsf addresses. Closes #18.Steve Zesch1-1/+1
2012-04-24upower support added to battstat. Preparing for 1.2.2 release.mate-applets-1.2.2Steve Zesch1-0/+330