theme: Make meta_frame_layout_calc_geometry static

https://bugzilla.gnome.org/show_bug.cgi?id=676052
This commit is contained in:
Jasper St. Pierre 2012-04-26 19:26:09 -04:00
parent c2a0719e44
commit 8b64a951c9
2 changed files with 1 additions and 11 deletions

View File

@ -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);

View File

@ -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,