mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -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
|
|
@ -710,7 +710,7 @@ handle_constraint_commit(struct wl_listener *listener, void *data)
|
|||
}
|
||||
|
||||
static void
|
||||
destroy_constraint(struct wl_listener *listener, void *data)
|
||||
handle_constraint_destroy(struct wl_listener *listener, void *data)
|
||||
{
|
||||
struct constraint *constraint = wl_container_of(listener, constraint,
|
||||
destroy);
|
||||
|
|
@ -741,7 +741,7 @@ create_constraint(struct wl_listener *listener, void *data)
|
|||
|
||||
constraint->constraint = wlr_constraint;
|
||||
constraint->seat = &server->seat;
|
||||
constraint->destroy.notify = destroy_constraint;
|
||||
constraint->destroy.notify = handle_constraint_destroy;
|
||||
wl_signal_add(&wlr_constraint->events.destroy, &constraint->destroy);
|
||||
|
||||
struct view *view = server->active_view;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue