diff options
Diffstat (limited to 'src/ui/ui.c')
-rw-r--r-- | src/ui/ui.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ui/ui.c b/src/ui/ui.c index feb91d60..b2924bc3 100644 --- a/src/ui/ui.c +++ b/src/ui/ui.c @@ -671,13 +671,11 @@ meta_ui_theme_get_frame_borders (MetaUI *ui, if (meta_ui_have_a_theme ()) { - MetaStyleInfo *style_info; MetaTheme *current; current = meta_theme_get_current (); - style_info = meta_theme_get_style_info (current, NULL); - font_desc = meta_style_info_create_font_desc (current, style_info); + font_desc = meta_style_info_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); |