[devhelp] Completion: add padding for future expansion in Class struct



commit 95b9135b043ee61d2d2fd42a2776bf7c41e1576f
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Fri Feb 9 18:23:00 2018 +0100

    Completion: add padding for future expansion in Class struct
    
    Since it's a public class.

 src/dh-completion.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/dh-completion.h b/src/dh-completion.h
index ea105b4..27c0ddf 100644
--- a/src/dh-completion.h
+++ b/src/dh-completion.h
@@ -42,6 +42,9 @@ struct _DhCompletion {
 
 struct _DhCompletionClass {
         GObjectClass parent_class;
+
+        /* Padding for future expansion */
+        gpointer padding[12];
 };
 
 GType           dh_completion_get_type                  (void);


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