Fixed typo in output_destroy_notify
* Fix misspelled function name output_destroy_notify * Fix function definition also * As well as one usage
This commit is contained in:
parent
411e30dd1f
commit
6b44a26ad0
1 changed files with 3 additions and 3 deletions
|
@ -16,7 +16,7 @@
|
|||
#include "kiwmi/server.h"
|
||||
|
||||
static void output_frame_notify(struct wl_listener *listener, void *data);
|
||||
static void output_destroy_nofity(struct wl_listener *listener, void *data);
|
||||
static void output_destroy_notify(struct wl_listener *listener, void *data);
|
||||
|
||||
struct kiwmi_output *
|
||||
output_create(struct wlr_output *wlr_output, struct kiwmi_server *server)
|
||||
|
@ -32,7 +32,7 @@ output_create(struct wlr_output *wlr_output, struct kiwmi_server *server)
|
|||
output->frame.notify = output_frame_notify;
|
||||
wl_signal_add(&wlr_output->events.frame, &output->frame);
|
||||
|
||||
output->destroy.notify = output_destroy_nofity;
|
||||
output->destroy.notify = output_destroy_notify;
|
||||
wl_signal_add(&wlr_output->events.destroy, &output->destroy);
|
||||
|
||||
return output;
|
||||
|
@ -58,7 +58,7 @@ output_frame_notify(struct wl_listener *listener, void *data)
|
|||
}
|
||||
|
||||
static void
|
||||
output_destroy_nofity(struct wl_listener *listener, void *data)
|
||||
output_destroy_notify(struct wl_listener *listener, void *data)
|
||||
{
|
||||
struct kiwmi_output *output = wl_container_of(listener, output, destroy);
|
||||
|
||||
|
|
Loading…
Reference in a new issue