[metacity] theme: fix titlebar_font copying in meta_theme_set_current
- From: Alberts MuktupÄvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [metacity] theme: fix titlebar_font copying in meta_theme_set_current
- Date: Thu, 28 Jan 2016 16:10:13 +0000 (UTC)
commit a6fb01dd847df6e22f9f40c8780b56ad51ec7c92
Author: Alberts MuktupÄvels <alberts muktupavels gmail com>
Date: Thu Jan 28 12:17:52 2016 +0200
theme: fix titlebar_font copying in meta_theme_set_current
src/ui/theme.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/ui/theme.c b/src/ui/theme.c
index 2e89152..c78a085 100644
--- a/src/ui/theme.c
+++ b/src/ui/theme.c
@@ -4798,7 +4798,7 @@ theme_set_current_metacity (const gchar *name,
{
new_theme->is_gtk_theme = FALSE;
new_theme->composited = composited;
- new_theme->titlebar_font = pango_font_description_copy (NULL);
+ new_theme->titlebar_font = pango_font_description_copy (titlebar_font);
if (meta_current_theme)
meta_theme_free (meta_current_theme);
@@ -4829,7 +4829,7 @@ theme_set_current_gtk (const gchar *name,
meta_current_theme->is_gtk_theme = TRUE;
meta_current_theme->composited = composited;
- meta_current_theme->titlebar_font = pango_font_description_copy (NULL);
+ meta_current_theme->titlebar_font = pango_font_description_copy (titlebar_font);
for (frame_type = 0; frame_type < META_FRAME_TYPE_LAST; frame_type++)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]