diff --git a/src/ui/theme-private.h b/src/ui/theme-private.h index f012d1089..5007ccf52 100644 --- a/src/ui/theme-private.h +++ b/src/ui/theme-private.h @@ -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); diff --git a/src/ui/theme.c b/src/ui/theme.c index be35b0475..60e653f07 100644 --- a/src/ui/theme.c +++ b/src/ui/theme.c @@ -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,