theme: Remove flags argument from get_frame_layout

It's unused.
This commit is contained in:
Jasper St. Pierre 2014-12-31 21:43:48 -08:00
parent 90111c03a1
commit 4673d8f245
3 changed files with 3 additions and 5 deletions

View File

@ -394,7 +394,7 @@ meta_frames_ensure_layout (MetaFrames *frames,
META_CORE_GET_FRAME_TYPE, &type, META_CORE_GET_FRAME_TYPE, &type,
META_CORE_GET_END); 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) if (layout != frame->cache_layout)
{ {

View File

@ -241,8 +241,7 @@ void meta_frame_layout_apply_scale (const MetaFrameLayout *layout,
PangoFontDescription *font_desc); PangoFontDescription *font_desc);
MetaFrameLayout* meta_theme_get_frame_layout (MetaTheme *theme, MetaFrameLayout* meta_theme_get_frame_layout (MetaTheme *theme,
MetaFrameType type, MetaFrameType type);
MetaFrameFlags flags);
MetaStyleInfo * meta_theme_create_style_info (GdkScreen *screen, MetaStyleInfo * meta_theme_create_style_info (GdkScreen *screen,
const gchar *variant); const gchar *variant);

View File

@ -953,8 +953,7 @@ meta_theme_free (MetaTheme *theme)
MetaFrameLayout* MetaFrameLayout*
meta_theme_get_frame_layout (MetaTheme *theme, meta_theme_get_frame_layout (MetaTheme *theme,
MetaFrameType type, MetaFrameType type)
MetaFrameFlags flags)
{ {
g_return_val_if_fail (type < META_FRAME_TYPE_LAST, NULL); g_return_val_if_fail (type < META_FRAME_TYPE_LAST, NULL);