mirror of
https://github.com/labwc/labwc.git
synced 2026-02-26 01:40:22 -05:00
Fix minor coding-style violations
...based on https://github.com/johanmalm/checkpatch.pl
This commit is contained in:
parent
439cf4f848
commit
d424514e24
14 changed files with 29 additions and 28 deletions
|
|
@ -225,7 +225,7 @@ desktop_cycle_view(struct server *server, struct view *start_view,
|
|||
assert(node->parent);
|
||||
struct wl_list *list_head = &node->parent->children;
|
||||
struct wl_list *list_item = &node->link;
|
||||
struct wl_list *(*iter)(struct wl_list *);
|
||||
struct wl_list *(*iter)(struct wl_list *list);
|
||||
|
||||
/* Scene nodes are ordered like last node == displayed topmost */
|
||||
iter = dir == LAB_CYCLE_DIR_FORWARD ? get_prev_item : get_next_item;
|
||||
|
|
@ -336,8 +336,12 @@ get_cursor_context(struct server *server)
|
|||
}
|
||||
return ret;
|
||||
case LAB_NODE_DESC_SSD_BUTTON: {
|
||||
/* Always return the top scene node for SSD buttons */
|
||||
struct ssd_button *button = node_ssd_button_from_node(node);
|
||||
/*
|
||||
* Always return the top scene node for SSD
|
||||
* buttons
|
||||
*/
|
||||
struct ssd_button *button =
|
||||
node_ssd_button_from_node(node);
|
||||
ret.node = node;
|
||||
ret.type = button->type;
|
||||
ret.view = button->view;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue