mirror of
https://github.com/brl/mutter.git
synced 2024-12-25 04:22:05 +00:00
theme: Make certain MetaFrameLayout functions static
This commit is contained in:
parent
644ab0e270
commit
87c973c260
@ -226,13 +226,6 @@ struct _MetaTheme
|
|||||||
MetaFrameLayout *layouts[META_FRAME_TYPE_LAST];
|
MetaFrameLayout *layouts[META_FRAME_TYPE_LAST];
|
||||||
};
|
};
|
||||||
|
|
||||||
MetaFrameLayout* meta_frame_layout_new (void);
|
|
||||||
void meta_frame_layout_free (MetaFrameLayout *layout);
|
|
||||||
void meta_frame_layout_get_borders (const MetaFrameLayout *layout,
|
|
||||||
int text_height,
|
|
||||||
MetaFrameFlags flags,
|
|
||||||
MetaFrameType type,
|
|
||||||
MetaFrameBorders *borders);
|
|
||||||
void meta_frame_layout_apply_scale (const MetaFrameLayout *layout,
|
void meta_frame_layout_apply_scale (const MetaFrameLayout *layout,
|
||||||
PangoFontDescription *font_desc);
|
PangoFontDescription *font_desc);
|
||||||
|
|
||||||
|
@ -30,15 +30,7 @@
|
|||||||
|
|
||||||
#define DEBUG_FILL_STRUCT(s) memset ((s), 0xef, sizeof (*(s)))
|
#define DEBUG_FILL_STRUCT(s) memset ((s), 0xef, sizeof (*(s)))
|
||||||
|
|
||||||
/**
|
static MetaFrameLayout *
|
||||||
* meta_frame_layout_new: (skip)
|
|
||||||
*
|
|
||||||
* Creates a new, empty MetaFrameLayout. The fields will be set to dummy
|
|
||||||
* values.
|
|
||||||
*
|
|
||||||
* Returns: The newly created MetaFrameLayout.
|
|
||||||
*/
|
|
||||||
MetaFrameLayout*
|
|
||||||
meta_frame_layout_new (void)
|
meta_frame_layout_new (void)
|
||||||
{
|
{
|
||||||
MetaFrameLayout *layout;
|
MetaFrameLayout *layout;
|
||||||
@ -56,7 +48,7 @@ meta_frame_layout_new (void)
|
|||||||
return layout;
|
return layout;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static void
|
||||||
meta_frame_layout_free (MetaFrameLayout *layout)
|
meta_frame_layout_free (MetaFrameLayout *layout)
|
||||||
{
|
{
|
||||||
g_return_if_fail (layout != NULL);
|
g_return_if_fail (layout != NULL);
|
||||||
@ -65,7 +57,7 @@ meta_frame_layout_free (MetaFrameLayout *layout)
|
|||||||
g_free (layout);
|
g_free (layout);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static void
|
||||||
meta_frame_layout_get_borders (const MetaFrameLayout *layout,
|
meta_frame_layout_get_borders (const MetaFrameLayout *layout,
|
||||||
int text_height,
|
int text_height,
|
||||||
MetaFrameFlags flags,
|
MetaFrameFlags flags,
|
||||||
|
Loading…
Reference in New Issue
Block a user