[mutter/wip/gtk-theming: 6/20] theme: Remove get_title_scale()
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wip/gtk-theming: 6/20] theme: Remove get_title_scale()
- Date: Mon, 22 Dec 2014 23:25:15 +0000 (UTC)
commit b8a9b13d05a2442cc941966e5ada11a0bc05eb50
Author: Florian Müllner <fmuellner gnome org>
Date: Tue Sep 30 13:51:27 2014 +0200
theme: Remove get_title_scale()
Not used anymore
src/ui/theme-private.h | 4 ----
src/ui/theme.c | 18 ------------------
2 files changed, 0 insertions(+), 22 deletions(-)
---
diff --git a/src/ui/theme-private.h b/src/ui/theme-private.h
index 04558ef..ac5a31d 100644
--- a/src/ui/theme-private.h
+++ b/src/ui/theme-private.h
@@ -1044,10 +1044,6 @@ MetaFrameStyle* meta_theme_get_frame_style (MetaTheme *theme,
MetaFrameType type,
MetaFrameFlags flags);
-double meta_theme_get_title_scale (MetaTheme *theme,
- MetaFrameType type,
- MetaFrameFlags flags);
-
MetaStyleInfo * meta_theme_create_style_info (GdkScreen *screen,
const gchar *variant);
MetaStyleInfo * meta_style_info_ref (MetaStyleInfo *style);
diff --git a/src/ui/theme.c b/src/ui/theme.c
index 8faa83d..790d933 100644
--- a/src/ui/theme.c
+++ b/src/ui/theme.c
@@ -4993,24 +4993,6 @@ meta_theme_get_frame_style (MetaTheme *theme,
return style;
}
-double
-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 = theme_get_style (theme, type, flags);
-
- /* Parser is not supposed to allow this currently */
- if (style == NULL)
- return 1.0;
-
- return style->layout->title_scale;
-}
-
static GtkStyleContext *
create_style_context (GType widget_type,
GtkStyleContext *parent_style,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]