diff options
author | Sebastien Bacher <seb128@ubuntu.com> | 2012-10-03 21:26:45 +0200 |
---|---|---|
committer | Sebastien Bacher <seb128@ubuntu.com> | 2012-10-03 21:26:45 +0200 |
commit | c30284384fe3a08bfa1eb8afdddf4ce03784d330 (patch) | |
tree | b0bd0d1ac1b6302332f6057042a3d78c21d3978b /src/indicator-power.c | |
parent | 938cb5db1032167f0ffdf777afd617adba0e5e9e (diff) | |
parent | 0fa9b264b7d79f9bb303b9383379635bb293cf3d (diff) | |
download | ayatana-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.c | 1 |
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; |