theme: Make certain MetaFrameLayout functions static

This commit is contained in:
Jasper St. Pierre 2015-02-11 17:50:29 -08:00
parent 644ab0e270
commit 87c973c260
2 changed files with 3 additions and 18 deletions

View File

@ -226,13 +226,6 @@ struct _MetaTheme
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,
PangoFontDescription *font_desc);

View File

@ -30,15 +30,7 @@
#define DEBUG_FILL_STRUCT(s) memset ((s), 0xef, sizeof (*(s)))
/**
* meta_frame_layout_new: (skip)
*
* Creates a new, empty MetaFrameLayout. The fields will be set to dummy
* values.
*
* Returns: The newly created MetaFrameLayout.
*/
MetaFrameLayout*
static MetaFrameLayout *
meta_frame_layout_new (void)
{
MetaFrameLayout *layout;
@ -56,7 +48,7 @@ meta_frame_layout_new (void)
return layout;
}
void
static void
meta_frame_layout_free (MetaFrameLayout *layout)
{
g_return_if_fail (layout != NULL);
@ -65,7 +57,7 @@ meta_frame_layout_free (MetaFrameLayout *layout)
g_free (layout);
}
void
static void
meta_frame_layout_get_borders (const MetaFrameLayout *layout,
int text_height,
MetaFrameFlags flags,