From 4673d8f245a8ba7a28a0230afcb63efec9be5a19 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Wed, 31 Dec 2014 21:43:48 -0800 Subject: [PATCH] theme: Remove flags argument from get_frame_layout It's unused. --- src/ui/frames.c | 2 +- src/ui/theme-private.h | 3 +-- src/ui/theme.c | 3 +-- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/ui/frames.c b/src/ui/frames.c index 31c4b3920..39e870684 100644 --- a/src/ui/frames.c +++ b/src/ui/frames.c @@ -394,7 +394,7 @@ meta_frames_ensure_layout (MetaFrames *frames, META_CORE_GET_FRAME_TYPE, &type, META_CORE_GET_END); - layout = meta_theme_get_frame_layout (meta_theme_get_default (), type, flags); + layout = meta_theme_get_frame_layout (meta_theme_get_default (), type); if (layout != frame->cache_layout) { diff --git a/src/ui/theme-private.h b/src/ui/theme-private.h index e36498324..0f2a83e78 100644 --- a/src/ui/theme-private.h +++ b/src/ui/theme-private.h @@ -241,8 +241,7 @@ void meta_frame_layout_apply_scale (const MetaFrameLayout *layout, PangoFontDescription *font_desc); MetaFrameLayout* meta_theme_get_frame_layout (MetaTheme *theme, - MetaFrameType type, - MetaFrameFlags flags); + MetaFrameType type); MetaStyleInfo * meta_theme_create_style_info (GdkScreen *screen, const gchar *variant); diff --git a/src/ui/theme.c b/src/ui/theme.c index 03b168f59..23b0b57fa 100644 --- a/src/ui/theme.c +++ b/src/ui/theme.c @@ -953,8 +953,7 @@ meta_theme_free (MetaTheme *theme) MetaFrameLayout* meta_theme_get_frame_layout (MetaTheme *theme, - MetaFrameType type, - MetaFrameFlags flags) + MetaFrameType type) { g_return_val_if_fail (type < META_FRAME_TYPE_LAST, NULL);