diff options
author | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2016-06-01 13:08:03 +0300 |
---|---|---|
committer | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2016-06-01 13:08:03 +0300 |
commit | 527acc2198894357a7e829aaca3ab387a1cd0a9c (patch) | |
tree | bdee24f231af8a00709aaf2ca1666824f65d5859 /libmetacity/meta-theme.c | |
parent | 8fe2e48e8e05be1691edeea7e3844756ee60c903 (diff) | |
download | metacity-527acc2198894357a7e829aaca3ab387a1cd0a9c.tar.gz |
libmetacity: remove meta_theme_get_title_scale
Diffstat (limited to 'libmetacity/meta-theme.c')
-rw-r--r-- | libmetacity/meta-theme.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/libmetacity/meta-theme.c b/libmetacity/meta-theme.c index 50adc840..30f76f24 100644 --- a/libmetacity/meta-theme.c +++ b/libmetacity/meta-theme.c @@ -445,24 +445,6 @@ meta_frame_type_from_string (const gchar *str) return META_FRAME_TYPE_LAST; } -gdouble -meta_theme_get_title_scale (MetaTheme *theme, - MetaFrameType type, - MetaFrameFlags flags) -{ - MetaFrameStyle *style; - - g_return_val_if_fail (type < META_FRAME_TYPE_LAST, 1.0); - - style = meta_theme_get_frame_style (theme, type, flags); - - /* Parser is not supposed to allow this currently */ - if (style == NULL) - return 1.0; - - return style->layout->title_scale; -} - void meta_theme_get_frame_borders (MetaTheme *theme, const gchar *theme_variant, |