[vte/vte-next: 220/223] Add padding to class struct



commit f5d14e71f6d8888b9bee7fb178943c39eb10b5dd
Author: Christian Persch <chpe gnome org>
Date:   Wed Jun 22 20:58:49 2011 +0200

    Add padding to class struct

 src/vtebuffer.h |    8 ++++++--
 src/vteview.h   |    1 -
 2 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/src/vtebuffer.h b/src/vtebuffer.h
index 06d5a8e..98cb82d 100644
--- a/src/vtebuffer.h
+++ b/src/vtebuffer.h
@@ -61,6 +61,10 @@ typedef struct _VteBufferClassPrivate VteBufferClassPrivate;
 struct _VteBufferClass {
   GObjectClass object_class;
 
+  /*< private >*/
+  VteBufferClassPrivate *priv;
+
+  /*< protected >*/
   void (*commit)               (VteBuffer *buffer,
                                 const gchar *text,
                                 guint size);
@@ -93,8 +97,8 @@ struct _VteBufferClass {
   void (*bell)                 (VteBuffer* buffer,
                                 VteBellType bell_type);
 
-  /*< private >*/
-  VteBufferClassPrivate *priv;
+  /* padding */
+  gpointer padding[24];
 };
 
 struct _VteBuffer {
diff --git a/src/vteview.h b/src/vteview.h
index 30ee455..1a7e5a0 100644
--- a/src/vteview.h
+++ b/src/vteview.h
@@ -56,7 +56,6 @@ struct _VteView {
  */
 struct _VteViewClass {
 	/*< public > */
-	/* Inherited parent class. */
 	GtkWidgetClass parent_class;
 
         /*< private >*/



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