[mutter] theme: Remove flags argument from get_frame_layout
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] theme: Remove flags argument from get_frame_layout
- Date: Thu, 1 Jan 2015 06:45:11 +0000 (UTC)
commit 4673d8f245a8ba7a28a0230afcb63efec9be5a19
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Wed Dec 31 21:43:48 2014 -0800
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 31c4b39..39e8706 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 e364983..0f2a83e 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 03b168f..23b0b57 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]