clutter: Remove struct paddings

Due to clutter being a private library we don't need worry about ABI
compatibility.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2986>
This commit is contained in:
Sebastian Keller 2023-05-03 00:28:29 +02:00 committed by Marge Bot
parent 07184e099c
commit 5b26db8ae8
4 changed files with 2 additions and 13 deletions

View File

@ -16665,9 +16665,7 @@ typedef struct _RealActorIter
{ {
ClutterActor *root; /* dummy1 */ ClutterActor *root; /* dummy1 */
ClutterActor *current; /* dummy2 */ ClutterActor *current; /* dummy2 */
gpointer padding_1; /* dummy3 */ gint age; /* dummy3 */
gint age; /* dummy4 */
gpointer padding_2; /* dummy5 */
} RealActorIter; } RealActorIter;
/** /**

View File

@ -308,9 +308,7 @@ struct _ClutterActorIter
/*< private >*/ /*< private >*/
gpointer CLUTTER_PRIVATE_FIELD (dummy1); gpointer CLUTTER_PRIVATE_FIELD (dummy1);
gpointer CLUTTER_PRIVATE_FIELD (dummy2); gpointer CLUTTER_PRIVATE_FIELD (dummy2);
gpointer CLUTTER_PRIVATE_FIELD (dummy3); gint CLUTTER_PRIVATE_FIELD (dummy3);
gint CLUTTER_PRIVATE_FIELD (dummy4);
gpointer CLUTTER_PRIVATE_FIELD (dummy5);
}; };
CLUTTER_EXPORT CLUTTER_EXPORT

View File

@ -46,8 +46,6 @@ struct _ClutterLayoutManager
{ {
/*< private >*/ /*< private >*/
GInitiallyUnowned parent_instance; GInitiallyUnowned parent_instance;
gpointer CLUTTER_PRIVATE_FIELD (dummy);
}; };
/** /**

View File

@ -53,11 +53,6 @@ struct _ClutterLayoutMeta
/*< public >*/ /*< public >*/
ClutterLayoutManager *manager; ClutterLayoutManager *manager;
/*< private >*/
/* padding */
gint32 dummy0;
gpointer dummy1;
}; };
/** /**