mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 01:50:42 -05:00
theme: Make meta_frame_layout_calc_geometry static
https://bugzilla.gnome.org/show_bug.cgi?id=676052
This commit is contained in:
parent
c2a0719e44
commit
8b64a951c9
@ -925,16 +925,6 @@ void meta_frame_layout_get_borders (const MetaFrameLayout *layout,
|
|||||||
MetaFrameFlags flags,
|
MetaFrameFlags flags,
|
||||||
MetaFrameType type,
|
MetaFrameType type,
|
||||||
MetaFrameBorders *borders);
|
MetaFrameBorders *borders);
|
||||||
void meta_frame_layout_calc_geometry (const MetaFrameLayout *layout,
|
|
||||||
int text_height,
|
|
||||||
MetaFrameFlags flags,
|
|
||||||
int client_width,
|
|
||||||
int client_height,
|
|
||||||
const MetaButtonLayout *button_layout,
|
|
||||||
MetaFrameType type,
|
|
||||||
MetaFrameGeometry *fgeom,
|
|
||||||
MetaTheme *theme);
|
|
||||||
|
|
||||||
gboolean meta_frame_layout_validate (const MetaFrameLayout *layout,
|
gboolean meta_frame_layout_validate (const MetaFrameLayout *layout,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
|
||||||
|
@ -593,7 +593,7 @@ strip_button (MetaButtonSpace *func_rects[MAX_BUTTONS_PER_CORNER],
|
|||||||
return FALSE; /* did not strip anything */
|
return FALSE; /* did not strip anything */
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static void
|
||||||
meta_frame_layout_calc_geometry (const MetaFrameLayout *layout,
|
meta_frame_layout_calc_geometry (const MetaFrameLayout *layout,
|
||||||
int text_height,
|
int text_height,
|
||||||
MetaFrameFlags flags,
|
MetaFrameFlags flags,
|
||||||
|
Loading…
Reference in New Issue
Block a user