diff options
author | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2016-02-07 22:32:14 +0200 |
---|---|---|
committer | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2016-02-07 22:32:14 +0200 |
commit | 7c2c303d082faa1c010de83deb967992c008985e (patch) | |
tree | 751065aba32cc48a2e92bd2cbf12115abac6b47b /theme-viewer | |
parent | c6b586dc2906a2d5e8ed1962ba5a654921670395 (diff) | |
download | metacity-7c2c303d082faa1c010de83deb967992c008985e.tar.gz |
libmetacity: don't expose MetaStyleInfo
Diffstat (limited to 'theme-viewer')
-rw-r--r-- | theme-viewer/theme-viewer-window.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/theme-viewer/theme-viewer-window.c b/theme-viewer/theme-viewer-window.c index 16a0fbe0..c38d56a9 100644 --- a/theme-viewer/theme-viewer-window.c +++ b/theme-viewer/theme-viewer-window.c @@ -204,7 +204,6 @@ update_title_layout (ThemeViewerWindow *window) { GtkWidget *widget; PangoLayout *layout; - MetaStyleInfo *style_info; PangoFontDescription *font_desc; MetaFrameType type; MetaFrameFlags flags; @@ -216,8 +215,8 @@ update_title_layout (ThemeViewerWindow *window) layout = gtk_widget_create_pango_layout (widget, "Metacity Theme Viewer"); - style_info = meta_theme_get_style_info (window->theme, window->theme_variant); - font_desc = meta_style_info_create_font_desc (window->theme, style_info); + font_desc = meta_style_info_create_font_desc (window->theme, + window->theme_variant); type = window->frame_type; flags = window->frame_flags; |