mirror of
https://github.com/labwc/labwc.git
synced 2025-11-11 13:30:04 -05:00
Strictly use handle_ prefix for signal handlers
This commit is contained in:
parent
6f70cd0d6e
commit
75bd188592
11 changed files with 49 additions and 56 deletions
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
/* Internal helpers */
|
||||
static void
|
||||
ssd_button_destroy_notify(struct wl_listener *listener, void *data)
|
||||
handle_button_node_destroy(struct wl_listener *listener, void *data)
|
||||
{
|
||||
struct ssd_button *button = wl_container_of(listener, button, destroy);
|
||||
wl_list_remove(&button->destroy.link);
|
||||
|
|
@ -32,7 +32,7 @@ ssd_button_descriptor_create(struct wlr_scene_node *node)
|
|||
struct ssd_button *button = znew(*button);
|
||||
|
||||
/* Let it destroy automatically when the scene node destroys */
|
||||
button->destroy.notify = ssd_button_destroy_notify;
|
||||
button->destroy.notify = handle_button_node_destroy;
|
||||
wl_signal_add(&node->events.destroy, &button->destroy);
|
||||
|
||||
/* And finally attach the ssd_button to a node descriptor */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue