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);