mirror of
https://github.com/labwc/labwc.git
synced 2025-11-06 13:29:58 -05:00
Fix coding style
This commit is contained in:
parent
6a242d5739
commit
e45e2c7e60
16 changed files with 28 additions and 22 deletions
|
|
@ -7,9 +7,11 @@ struct server;
|
|||
struct wl_list;
|
||||
|
||||
struct action {
|
||||
struct wl_list link; /* struct keybinding.actions,
|
||||
* struct mousebinding.actions,
|
||||
* struct menuitem.actions */
|
||||
struct wl_list link; /*
|
||||
* struct keybinding.actions
|
||||
* struct mousebinding.actions
|
||||
* struct menuitem.actions
|
||||
*/
|
||||
|
||||
uint32_t type; /* enum action_type */
|
||||
struct wl_list args; /* struct action_arg.link */
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ char *xstrdup(const char *str);
|
|||
* Does nothing if <ptr> is already NULL.
|
||||
*/
|
||||
#define zfree(ptr) do { \
|
||||
free(ptr); (ptr) = NULL; \
|
||||
free(ptr); (ptr) = NULL; \
|
||||
} while (0)
|
||||
|
||||
#endif /* __LABWC_MEM_H */
|
||||
|
|
|
|||
|
|
@ -9,8 +9,10 @@ struct wl_list;
|
|||
|
||||
/* Double use: as config in config/rcxml.c and as instance in workspaces.c */
|
||||
struct workspace {
|
||||
struct wl_list link; /* struct server.workspaces
|
||||
struct rcxml.workspace_config.workspaces */
|
||||
struct wl_list link; /*
|
||||
* struct server.workspaces
|
||||
* struct rcxml.workspace_config.workspaces
|
||||
*/
|
||||
struct server *server;
|
||||
|
||||
char *name;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue