[Xfce4-commits] <xfce4-xkb-plugin:4.10_panel_support> Stop drawing the layout label if normalized_group_name fails UTF8 validity check. (cherry picked from commit 91940da28c9b4b7445cd058fd07a84e9ca0d58c8)
Igor Slepchin
noreply at xfce.org
Wed Mar 27 00:12:09 CET 2013
Updating branch refs/heads/4.10_panel_support
to fba80b77c469f6731d140ff61fabdec8b3f5e695 (commit)
from 2a4fefb012360b1d4b6c91f48841f90ed8505ba5 (commit)
commit fba80b77c469f6731d140ff61fabdec8b3f5e695
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.
(cherry picked from commit 91940da28c9b4b7445cd058fd07a84e9ca0d58c8)
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