mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 11:32:04 +00:00
theme: Rename button_rect() to get_button_rect()
Basically it's odd to have "button_rect" be a function with all the foo_rect GdkRectangles around - renaming to get_button_rect() will free the name for the generically named "rect" once buttons are the only movable pieces in the frame. https://bugzilla.gnome.org/show_bug.cgi?id=741917
This commit is contained in:
parent
901a05ad80
commit
75105e254f
@ -4060,7 +4060,7 @@ meta_frame_style_validate (MetaFrameStyle *style,
|
||||
}
|
||||
|
||||
static void
|
||||
button_rect (MetaButtonType type,
|
||||
get_button_rect (MetaButtonType type,
|
||||
const MetaFrameGeometry *fgeom,
|
||||
int middle_background_offset,
|
||||
GdkRectangle *rect)
|
||||
@ -4341,7 +4341,7 @@ meta_frame_style_draw_with_style (MetaFrameStyle *style,
|
||||
{
|
||||
MetaButtonState button_state;
|
||||
|
||||
button_rect (j, fgeom, middle_bg_offset, &rect);
|
||||
get_button_rect (j, fgeom, middle_bg_offset, &rect);
|
||||
|
||||
button_state = map_button_state (j, fgeom, middle_bg_offset, button_states);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user