st-shadow: Define autoptr cleanup function for StShadow

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/5
This commit is contained in:
Marco Trevisan (Treviño) 2019-02-25 15:53:25 +01:00 committed by Jonas Ådahl
parent 0141fef561
commit ca4d86e9e5

View File

@ -72,6 +72,8 @@ void st_shadow_get_box (StShadow *shadow,
const ClutterActorBox *actor_box, const ClutterActorBox *actor_box,
ClutterActorBox *shadow_box); ClutterActorBox *shadow_box);
G_DEFINE_AUTOPTR_CLEANUP_FUNC (StShadow, st_shadow_unref);
GType st_shadow_helper_get_type (void) G_GNUC_CONST; GType st_shadow_helper_get_type (void) G_GNUC_CONST;