aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-03-03 20:39:38 -0600
committerTed Gould <ted@gould.cx>2010-03-03 20:39:38 -0600
commit8db0d6c1a6b3ed6215e3db1704622bce4034f2cc (patch)
tree695effb1aa970ffed06f324a3f9bc30da722e86c /src
parent25e5df53f5584fa04ff0f9949f619f9031acc4a1 (diff)
parenta6d04fe9a6dbd6c4b9b119686523962bf9147a8b (diff)
downloadayatana-indicator-session-8db0d6c1a6b3ed6215e3db1704622bce4034f2cc.tar.gz
ayatana-indicator-session-8db0d6c1a6b3ed6215e3db1704622bce4034f2cc.tar.bz2
ayatana-indicator-session-8db0d6c1a6b3ed6215e3db1704622bce4034f2cc.zip
Sync to trunk
Diffstat (limited to 'src')
-rw-r--r--src/indicator-session.c1
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);