[Xfce4-commits] <xfce4-xkb-plugin:master> Stop drawing the layout label if normalized_group_name fails UTF8 validity check.
Igor Slepchin
noreply at xfce.org
Wed Aug 22 23:24:20 CEST 2012
Updating branch refs/heads/master
to 91940da28c9b4b7445cd058fd07a84e9ca0d58c8 (commit)
from e395c0ab434b1dcfed39ae911adc3aa5d5a8b9d1 (commit)
commit 91940da28c9b4b7445cd058fd07a84e9ca0d58c8
Author: Igor Slepchin <igor.slepchin at gmail.com>
Date: Fri Jul 27 23:59:23 2012 -0400
Stop drawing the layout label if normalized_group_name fails UTF8 validity check.
panel-plugin/xkb-cairo.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/panel-plugin/xkb-cairo.c b/panel-plugin/xkb-cairo.c
index 86af836..8de3ec5 100644
--- a/panel-plugin/xkb-cairo.c
+++ b/panel-plugin/xkb-cairo.c
@@ -159,6 +159,7 @@ xkb_cairo_draw_label (cairo_t *cr,
{
g_object_unref (layout);
g_free (normalized_group_name);
+ return;
}
pango_layout_set_text (layout, normalized_group_name, -1);
More information about the Xfce4-commits
mailing list