[mutter] common: Annotate MetaButtonLayout



commit 54a3847a5e914da53763b78ec118bb2f4bd3ffdc
Author: Florian MÃllner <fmuellner gnome org>
Date:   Wed Nov 28 23:31:50 2012 +0100

    common: Annotate MetaButtonLayout
    
    https://bugzilla.gnome.org/show_bug.cgi?id=689263

 src/meta/common.h |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/src/meta/common.h b/src/meta/common.h
index ab54aff..5526d09 100644
--- a/src/meta/common.h
+++ b/src/meta/common.h
@@ -274,6 +274,14 @@ typedef enum
 
 #define MAX_BUTTONS_PER_CORNER META_BUTTON_FUNCTION_LAST
 
+/* Keep array size in sync with MAX_BUTTONS_PER_CORNER */
+/**
+ * MetaButtonLayout:
+ * @left_buttons: (array fixed-size=10):
+ * @right_buttons: (array fixed-size=10):
+ * @left_buttons_has_spacer: (array fixed-size=10):
+ * @right_buttons_has_spacer: (array fixed-size=10):
+ */
 typedef struct _MetaButtonLayout MetaButtonLayout;
 struct _MetaButtonLayout
 {



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