summaryrefslogtreecommitdiff
path: root/render/theme.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2009-11-21 15:12:40 -0500
committerDana Jansens <danakj@orodu.net>2009-11-21 15:12:40 -0500
commit00cb161ec62830cfb3be0e77177452d60aad6545 (patch)
tree7fd109078b8573eaa7eab56e2740c84fe67a54ba /render/theme.c
parent6bb4b22cbe1edcda433a823d170620ccf252e4b1 (diff)
Keep things in 80 columns
Diffstat (limited to 'render/theme.c')
-rw-r--r--render/theme.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/render/theme.c b/render/theme.c
index 0882637a..aa9cb3f9 100644
--- a/render/theme.c
+++ b/render/theme.c
@@ -46,7 +46,8 @@ static int parse_inline_number(const char *p);
static RrPixel32* read_c_image(gint width, gint height, const guint8 *data);
static void set_default_appearance(RrAppearance *a);
-static RrFont *get_font(RrFont *target, RrFont **default_font, const RrInstance *inst)
+static RrFont *get_font(RrFont *target, RrFont **default_font,
+ const RrInstance *inst)
{
if (target) {
RrFontRef(target);
@@ -147,8 +148,10 @@ RrTheme* RrThemeNew(const RrInstance *inst, const gchar *name,
theme->osd_unhilite_fg = RrAppearanceNew(inst, 0);
/* load the font stuff */
- theme->win_font_focused = get_font(active_window_font, &default_font, inst);
- theme->win_font_unfocused = get_font(inactive_window_font, &default_font, inst);
+ theme->win_font_focused = get_font(active_window_font,
+ &default_font, inst);
+ theme->win_font_unfocused = get_font(inactive_window_font,
+ &default_font, inst);
winjust = RR_JUSTIFY_LEFT;
if (read_string(db, "window.label.text.justify", &str)) {