aboutsummaryrefslogtreecommitdiff
path: root/src/indicator-session.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-03-03 21:06:00 -0600
committerTed Gould <ted@gould.cx>2010-03-03 21:06:00 -0600
commitd9bc98c8b728ffce04d5536501efb11a6084c831 (patch)
tree22f77b0048967d522ca9dea9c664adf286408c07 /src/indicator-session.c
parent4533e76797864b2e949ffa150359145d861f0045 (diff)
parent1af7a048d62b8616d3182a8bb48fe33e7b54d93d (diff)
downloadayatana-indicator-session-d9bc98c8b728ffce04d5536501efb11a6084c831.tar.gz
ayatana-indicator-session-d9bc98c8b728ffce04d5536501efb11a6084c831.tar.bz2
ayatana-indicator-session-d9bc98c8b728ffce04d5536501efb11a6084c831.zip
* Upstream Merge
* Fix naming to "Switch off" and "Sleep" * Blocking the current user from the user list * Change sorting to be based on real names and handle conflicts * Removing some ConsoleKit errors * Memory leak on PangoLayout allocation * Don't set GTK decorations * ConsoleKit fallback if gnome-session not available
Diffstat (limited to 'src/indicator-session.c')
-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);