theme: Remove flags argument from get_frame_layout
It's unused.
This commit is contained in:
parent
90111c03a1
commit
4673d8f245
@ -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)
|
||||||
{
|
{
|
||||||
|
@ -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);
|
||||||
|
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user