[clutter] clutter-wayland-surface: Add padding to the class struct



commit cfbb7a0fa0fcd1014984e2b70a8c2a5d12e3ad79
Author: Neil Roberts <neil linux intel com>
Date:   Wed Feb 29 19:20:18 2012 +0000

    clutter-wayland-surface: Add padding to the class struct
    
    This just adds some padding pointers so that we can later add more
    virtual functions without breaking ABI.
    
    Reviewed-by: Emmanuele Bassi <ebassi linux intel com>

 clutter/wayland/clutter-wayland-surface.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/clutter/wayland/clutter-wayland-surface.h b/clutter/wayland/clutter-wayland-surface.h
index e5f64a1..1d7b0c7 100644
--- a/clutter/wayland/clutter-wayland-surface.h
+++ b/clutter/wayland/clutter-wayland-surface.h
@@ -81,6 +81,10 @@ struct _ClutterWaylandSurfaceClass
                                gint y,
                                gint width,
                                gint height);
+
+  /*< private >*/
+  /* padding for future expansion */
+  gpointer _padding_dummy[8];
 };
 
 GType clutter_wayland_surface_get_type (void) G_GNUC_CONST;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]