common: Annotate MetaButtonLayout

https://bugzilla.gnome.org/show_bug.cgi?id=689263
This commit is contained in:
Florian Müllner 2012-11-28 23:31:50 +01:00
parent 5a8473e226
commit 54a3847a5e

View File

@ -274,6 +274,14 @@ typedef enum
#define MAX_BUTTONS_PER_CORNER META_BUTTON_FUNCTION_LAST #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; typedef struct _MetaButtonLayout MetaButtonLayout;
struct _MetaButtonLayout struct _MetaButtonLayout
{ {