aboutsummaryrefslogtreecommitdiff
path: root/src/indicator-power.c
diff options
context:
space:
mode:
authorSebastien Bacher <seb128@ubuntu.com>2012-10-03 21:26:45 +0200
committerSebastien Bacher <seb128@ubuntu.com>2012-10-03 21:26:45 +0200
commitc30284384fe3a08bfa1eb8afdddf4ce03784d330 (patch)
treeb0bd0d1ac1b6302332f6057042a3d78c21d3978b /src/indicator-power.c
parent938cb5db1032167f0ffdf777afd617adba0e5e9e (diff)
parent0fa9b264b7d79f9bb303b9383379635bb293cf3d (diff)
downloadayatana-indicator-power-c30284384fe3a08bfa1eb8afdddf4ce03784d330.tar.gz
ayatana-indicator-power-c30284384fe3a08bfa1eb8afdddf4ce03784d330.tar.bz2
ayatana-indicator-power-c30284384fe3a08bfa1eb8afdddf4ce03784d330.zip
* New upstream release.
- Show a more accurate view of discharging batteries (LP: #1054146) - Fix a GIcon memory leak - In device.c, include gi18n-lib.h instead of gi18n.h
Diffstat (limited to 'src/indicator-power.c')
-rw-r--r--src/indicator-power.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/indicator-power.c b/src/indicator-power.c
index f3a7235..9829839 100644
--- a/src/indicator-power.c
+++ b/src/indicator-power.c
@@ -508,6 +508,7 @@ get_image (IndicatorObject *io)
gicon = g_themed_icon_new (DEFAULT_ICON);
priv->status_image = GTK_IMAGE (gtk_image_new_from_gicon (gicon,
GTK_ICON_SIZE_LARGE_TOOLBAR));
+ g_object_unref (gicon);
}
return priv->status_image;