X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=render%2Ftheme.c;h=cfbc5f9ce868f850c7dabe4477d25e996296a071;hb=34064ae3a6d04070683370ee1fd1811ae23e5704;hp=7f67b47aa4888b5cc770fdd02f14de19866ff1de;hpb=632b2af7a8283eff025456d3bb39a362311f4182;p=chaz%2Fopenbox diff --git a/render/theme.c b/render/theme.c index 7f67b47a..cfbc5f9c 100644 --- a/render/theme.c +++ b/render/theme.c @@ -133,11 +133,6 @@ RrTheme* RrThemeNew(const RrInstance *inst, gchar *name) mjust = RR_JUSTIFY_CENTER; } - /* load the title layout */ - if (!read_string(db, "window.title.layout", &font_str)) - font_str = "NLIMC"; - theme->title_layout = g_strdup(font_str); - /* load direct dimensions */ if (!read_int(db, "menuOverlap", &theme->menu_overlap) || theme->menu_overlap < 0 || theme->menu_overlap > 20) @@ -470,7 +465,7 @@ RrTheme* RrThemeNew(const RrInstance *inst, gchar *name) theme->a_hover_focused_iconify = RrAppearanceCopy(theme->a_hover_focused_max); theme->a_hover_unfocused_iconify = - RrAppearanceCopy(theme->a_hover_focused_max); + RrAppearanceCopy(theme->a_hover_unfocused_max); theme->a_unfocused_unpressed_iconify = RrAppearanceCopy(theme->a_unfocused_unpressed_max); theme->a_unfocused_pressed_iconify = @@ -732,8 +727,6 @@ void RrThemeFree(RrTheme *theme) RrFontClose(theme->mtitlefont); RrFontClose(theme->mfont); - g_free(theme->title_layout); - RrAppearanceFree(theme->a_disabled_focused_max); RrAppearanceFree(theme->a_disabled_unfocused_max); RrAppearanceFree(theme->a_hover_focused_max);