diff options
author | Ted Gould <ted@gould.cx> | 2010-03-02 14:49:04 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-03-02 14:49:04 -0600 |
commit | 4dca3325214a9060d9a56748c8e8aea590d3ce52 (patch) | |
tree | f8134d6e0a453e39a4bd93d74937d20d46f524e9 | |
parent | b8dfba9eadfb0150e673620f940ddd6d83ebccff (diff) | |
parent | 7e8f0d662bd911cf8c9e79b24446449d31464b8b (diff) | |
download | ayatana-indicator-session-4dca3325214a9060d9a56748c8e8aea590d3ce52.tar.gz ayatana-indicator-session-4dca3325214a9060d9a56748c8e8aea590d3ce52.tar.bz2 ayatana-indicator-session-4dca3325214a9060d9a56748c8e8aea590d3ce52.zip |
Unreffing an allocated layout.
-rw-r--r-- | src/indicator-session.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/indicator-session.c b/src/indicator-session.c index a97eb95..a815e40 100644 --- a/src/indicator-session.c +++ b/src/indicator-session.c @@ -214,6 +214,7 @@ switch_property_change (DbusmenuMenuitem * item, const gchar * property, const G gint width; pango_layout_get_pixel_size(layout, &width, NULL); + g_object_unref(layout); g_debug("Username width %dpx", width); gint point = pango_font_description_get_size(style->font_desc); |