[gnome-shell] st-private: Fix style
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] st-private: Fix style
- Date: Mon, 3 Dec 2012 01:12:06 +0000 (UTC)
commit a88433dba6742fb0fb7af822b5ca2b1aae277ae0
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Sun Dec 2 20:11:36 2012 -0500
st-private: Fix style
src/st/st-private.c | 17 ++++++++++-------
1 files changed, 10 insertions(+), 7 deletions(-)
---
diff --git a/src/st/st-private.c b/src/st/st-private.c
index cd4e52a..a8ec197 100644
--- a/src/st/st-private.c
+++ b/src/st/st-private.c
@@ -212,13 +212,16 @@ _st_set_text_from_style (ClutterText *text,
pango_attr_list_unref (attribs);
align = st_theme_node_get_text_align (theme_node);
- if(align == ST_TEXT_ALIGN_JUSTIFY) {
- clutter_text_set_justify (text, TRUE);
- clutter_text_set_line_alignment (text, PANGO_ALIGN_LEFT);
- } else {
- clutter_text_set_justify (text, FALSE);
- clutter_text_set_line_alignment (text, (PangoAlignment) align);
- }
+ if (align == ST_TEXT_ALIGN_JUSTIFY)
+ {
+ clutter_text_set_justify (text, TRUE);
+ clutter_text_set_line_alignment (text, PANGO_ALIGN_LEFT);
+ }
+ else
+ {
+ clutter_text_set_justify (text, FALSE);
+ clutter_text_set_line_alignment (text, (PangoAlignment) align);
+ }
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]