mirror of
https://github.com/brl/mutter.git
synced 2025-06-14 01:09:30 +00:00
theme: Remove MetaFrameStyle/MetaFrameStyleSet
MetaFrameStyle now only holds a MetaFrameLayout, so we can cut out the middle man and use the layout directly. And as we are already using a single style/layout per frame set and handle frame state and focus by setting appropriate style flags, MetaFrameStyleSet is pointless too - just store one MetaFrameLayout per frame type directly in the theme. https://bugzilla.gnome.org/show_bug.cgi?id=741917
This commit is contained in:

committed by
Jasper St. Pierre

parent
46f3eb0b71
commit
ee461b5495
@ -75,7 +75,7 @@ struct _MetaUIFrame
|
||||
Window xwindow;
|
||||
GdkWindow *window;
|
||||
MetaStyleInfo *style_info;
|
||||
MetaFrameStyle *cache_style;
|
||||
MetaFrameLayout *cache_layout;
|
||||
PangoLayout *text_layout;
|
||||
int text_height;
|
||||
char *title; /* NULL once we have a layout */
|
||||
|
Reference in New Issue
Block a user