diff options
author | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2016-08-17 16:21:11 +0300 |
---|---|---|
committer | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2016-08-17 16:21:11 +0300 |
commit | eee199e3b7ce87cbd08b4b6e4c9c55c804c6ff5f (patch) | |
tree | cda76962eea5412746c87f9c44a21dfbe2025401 /libmetacity/meta-theme-impl-private.h | |
parent | 435058ef576b86b89ac23715b21495cdaf601288 (diff) | |
download | metacity-eee199e3b7ce87cbd08b4b6e4c9c55c804c6ff5f.tar.gz |
libmetacity: rename MetaButtonFunction to MetaButtonType
Name `function` is used inside Metacity theme. Rename existing
MetaButtonType to MetaButtonFunction and MetaButtonFunction to
MetaButtonType.
Diffstat (limited to 'libmetacity/meta-theme-impl-private.h')
-rw-r--r-- | libmetacity/meta-theme-impl-private.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libmetacity/meta-theme-impl-private.h b/libmetacity/meta-theme-impl-private.h index 14d90fda..77b679e9 100644 --- a/libmetacity/meta-theme-impl-private.h +++ b/libmetacity/meta-theme-impl-private.h @@ -67,7 +67,7 @@ struct _MetaThemeImplClass const MetaFrameGeometry *fgeom, PangoLayout *title_layout, MetaFrameFlags flags, - MetaButtonState button_states[META_BUTTON_FUNCTION_LAST], + MetaButtonState button_states[META_BUTTON_TYPE_LAST], GdkPixbuf *mini_icon, GdkPixbuf *icon); }; @@ -89,9 +89,9 @@ MetaFrameStyleSet *meta_theme_impl_get_style_set (MetaThemeImpl *impl MetaFrameType type); G_GNUC_INTERNAL -void get_button_rect_for_function (MetaButtonFunction function, - const MetaFrameGeometry *fgeom, - GdkRectangle *rect); +void get_button_rect_for_type (MetaButtonType type, + const MetaFrameGeometry *fgeom, + GdkRectangle *rect); G_GNUC_INTERNAL void scale_border (GtkBorder *border, |