From 5fce782499aa821c3a25bfdbf475066c2c21a7ed Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 12 Jul 2003 15:31:56 +0000 Subject: [PATCH] useless code move --- render/theme.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/render/theme.c b/render/theme.c index 877d2f12..29f0663c 100644 --- a/render/theme.c +++ b/render/theme.c @@ -164,6 +164,14 @@ RrTheme* RrThemeNew(const RrInstance *inst, gchar *name) "window.label.unfocus.textColor", &theme->title_unfocused_color)) theme->title_unfocused_color = RrColorNew(inst, 0xff, 0xff, 0xff); + if (!read_color(db, inst, + "window.button.focus.picColor", + &theme->titlebut_focused_color)) + theme->titlebut_focused_color = RrColorNew(inst, 0, 0, 0); + if (!read_color(db, inst, + "window.button.unfocus.picColor", + &theme->titlebut_unfocused_color)) + theme->titlebut_unfocused_color = RrColorNew(inst, 0xff, 0xff, 0xff); if (!read_color(db, inst, "window.button.disabled.focus.picColor", &theme->titlebut_disabled_focused_color)) @@ -173,14 +181,6 @@ RrTheme* RrThemeNew(const RrInstance *inst, gchar *name) "window.button.disabled.unfocus.picColor", &theme->titlebut_disabled_unfocused_color)) theme->titlebut_disabled_unfocused_color = RrColorNew(inst, 0, 0, 0); - if (!read_color(db, inst, - "window.button.focus.picColor", - &theme->titlebut_focused_color)) - theme->titlebut_focused_color = RrColorNew(inst, 0, 0, 0); - if (!read_color(db, inst, - "window.button.unfocus.picColor", - &theme->titlebut_unfocused_color)) - theme->titlebut_unfocused_color = RrColorNew(inst, 0xff, 0xff, 0xff); if (!read_color(db, inst, "menu.title.textColor", &theme->menu_title_color)) theme->menu_title_color = RrColorNew(inst, 0, 0, 0); -- 2.39.2