Verified Commit b189bb76 authored by James Westman's avatar James Westman
Browse files

Add padding to public class structs

parent ebd5f21a
Pipeline #426168 passed with stages
in 2 minutes and 14 seconds
......@@ -36,6 +36,9 @@ G_DECLARE_DERIVABLE_TYPE (ShumateCoordinate, shumate_coordinate, SHUMATE, COORDI
struct _ShumateCoordinateClass
{
GInitiallyUnownedClass parent_class;
/*< private >*/
gpointer padding[16];
};
ShumateCoordinate *shumate_coordinate_new (void);
......
......@@ -40,6 +40,9 @@ struct _ShumateDataSourceClass
GBytes *(*get_tile_data_finish) (ShumateDataSource *self,
GAsyncResult *result,
GError **error);
/*< private >*/
gpointer padding[16];
};
......
......@@ -35,6 +35,9 @@ G_DECLARE_DERIVABLE_TYPE (ShumateLayer, shumate_layer, SHUMATE, LAYER, GtkWidget
struct _ShumateLayerClass
{
GtkWidgetClass parent_class;
/*< private >*/
gpointer padding[16];
};
ShumateViewport *shumate_layer_get_viewport (ShumateLayer *self);
......
......@@ -54,6 +54,9 @@ struct _ShumateMapSourceClass
gboolean (*fill_tile_finish) (ShumateMapSource *self,
GAsyncResult *result,
GError **error);
/*< private >*/
gpointer padding[16];
};
const char *shumate_map_source_get_id (ShumateMapSource *map_source);
......
......@@ -39,6 +39,9 @@ G_DECLARE_DERIVABLE_TYPE (ShumateMarker, shumate_marker, SHUMATE, MARKER, GtkWid
struct _ShumateMarkerClass
{
GtkWidgetClass parent_class;
/*< private >*/
gpointer padding[16];
};
ShumateMarker *shumate_marker_new (void);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment