[libshumate] Add padding to public class structs
- From: Corentin Noël <corentinnoel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libshumate] Add padding to public class structs
- Date: Mon, 1 Aug 2022 09:26:58 +0000 (UTC)
commit b189bb7685637b0650f8b6a738252c1637dbbc07
Author: James Westman <james jwestman net>
Date: Fri Jul 29 21:10:57 2022 -0500
Add padding to public class structs
shumate/shumate-coordinate.h | 3 +++
shumate/shumate-data-source.h | 3 +++
shumate/shumate-layer.h | 3 +++
shumate/shumate-map-source.h | 3 +++
shumate/shumate-marker.h | 3 +++
5 files changed, 15 insertions(+)
---
diff --git a/shumate/shumate-coordinate.h b/shumate/shumate-coordinate.h
index b8d3222..98b982c 100644
--- a/shumate/shumate-coordinate.h
+++ b/shumate/shumate-coordinate.h
@@ -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);
diff --git a/shumate/shumate-data-source.h b/shumate/shumate-data-source.h
index f6540e3..724a614 100644
--- a/shumate/shumate-data-source.h
+++ b/shumate/shumate-data-source.h
@@ -40,6 +40,9 @@ struct _ShumateDataSourceClass
GBytes *(*get_tile_data_finish) (ShumateDataSource *self,
GAsyncResult *result,
GError **error);
+
+ /*< private >*/
+ gpointer padding[16];
};
diff --git a/shumate/shumate-layer.h b/shumate/shumate-layer.h
index ff699e6..40e2f75 100644
--- a/shumate/shumate-layer.h
+++ b/shumate/shumate-layer.h
@@ -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);
diff --git a/shumate/shumate-map-source.h b/shumate/shumate-map-source.h
index 4046e9c..9e29505 100644
--- a/shumate/shumate-map-source.h
+++ b/shumate/shumate-map-source.h
@@ -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);
diff --git a/shumate/shumate-marker.h b/shumate/shumate-marker.h
index 74348c3..3866930 100644
--- a/shumate/shumate-marker.h
+++ b/shumate/shumate-marker.h
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]