diff options
author | Dave Davenport <qball@blame.services> | 2022-11-19 21:50:34 +0100 |
---|---|---|
committer | Dave Davenport <qball@blame.services> | 2022-11-19 21:50:34 +0100 |
commit | d9935e594e913f6d5399e245f32bda68eb9b46ae (patch) | |
tree | 6e3d8205c717e4680211d1d083a5962521930292 /include/widgets/widget-internal.h | |
parent | 063195922f667a1d25efdb3ccdbd426fcf62cb9f (diff) |
[Doc] Fix some missing docu.
Diffstat (limited to 'include/widgets/widget-internal.h')
-rw-r--r-- | include/widgets/widget-internal.h | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/include/widgets/widget-internal.h b/include/widgets/widget-internal.h index f7b7c25f..8cc0a295 100644 --- a/include/widgets/widget-internal.h +++ b/include/widgets/widget-internal.h @@ -32,23 +32,22 @@ /** Macro for initializing the RofiDistance struct. */ #define WIDGET_DISTANCE_INIT \ - (RofiDistance){ \ - .base = { \ - .distance = 0, \ - .type = ROFI_PU_PX, \ - .modtype = ROFI_DISTANCE_MODIFIER_NONE, \ - .left = NULL, \ - .right = NULL, \ - }, \ + (RofiDistance) { \ + .base = \ + { \ + .distance = 0, \ + .type = ROFI_PU_PX, \ + .modtype = ROFI_DISTANCE_MODIFIER_NONE, \ + .left = NULL, \ + .right = NULL, \ + }, \ .style = ROFI_HL_SOLID, \ } -/* Macro for initializing the RofiPadding struct. */ +/** Macro for initializing the RofiPadding struct. */ #define WIDGET_PADDING_INIT \ - (RofiPadding){ \ - .top = WIDGET_DISTANCE_INIT, \ - .right = WIDGET_DISTANCE_INIT, \ - .bottom = WIDGET_DISTANCE_INIT, \ - .left = WIDGET_DISTANCE_INIT, \ + (RofiPadding) { \ + .top = WIDGET_DISTANCE_INIT, .right = WIDGET_DISTANCE_INIT, \ + .bottom = WIDGET_DISTANCE_INIT, .left = WIDGET_DISTANCE_INIT, \ } /** |