summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlberts Muktupāvels <alberts.muktupavels@gmail.com>2016-02-07 22:35:11 +0200
committerAlberts Muktupāvels <alberts.muktupavels@gmail.com>2016-02-07 22:35:11 +0200
commit56a8c70f39609f495ca651d5aac1176a1e145d93 (patch)
treefa0c02a2b02b098c3c95eb80d22ed1879edb92ed /src
parent7c2c303d082faa1c010de83deb967992c008985e (diff)
downloadmetacity-56a8c70f39609f495ca651d5aac1176a1e145d93.tar.gz
libmetacity: rename meta_style_info_create_font_desc
Diffstat (limited to 'src')
-rw-r--r--src/ui/frames.c2
-rw-r--r--src/ui/ui.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/frames.c b/src/ui/frames.c
index e202804d..2162ed92 100644
--- a/src/ui/frames.c
+++ b/src/ui/frames.c
@@ -476,7 +476,7 @@ meta_frames_ensure_layout (MetaFrames *frames,
current = meta_theme_get_current ();
- font_desc = meta_style_info_create_font_desc (current, frame->theme_variant);
+ font_desc = meta_theme_create_font_desc (current, frame->theme_variant);
meta_frame_style_apply_scale (style, font_desc);
size = pango_font_description_get_size (font_desc);
diff --git a/src/ui/ui.c b/src/ui/ui.c
index b2924bc3..cffb1f6b 100644
--- a/src/ui/ui.c
+++ b/src/ui/ui.c
@@ -675,7 +675,7 @@ meta_ui_theme_get_frame_borders (MetaUI *ui,
current = meta_theme_get_current ();
- font_desc = meta_style_info_create_font_desc (current, NULL);
+ font_desc = meta_theme_create_font_desc (current, NULL);
context = gtk_widget_get_pango_context (GTK_WIDGET (ui->frames));
text_height = meta_pango_font_desc_get_text_height (font_desc, context);