lfb-event: Document constructor

Closes: #8
This commit is contained in:
Guido Günther
2020-02-25 18:35:16 +01:00
parent c54ff7fcb9
commit e3e9ba89fc
+9
View File
@@ -301,6 +301,15 @@ lfb_event_init (LfbEvent *self)
self->end_reason = LFB_EVENT_END_REASON_NATURAL; self->end_reason = LFB_EVENT_END_REASON_NATURAL;
} }
/**
* lfb_event_new:
* @event: The event's name.
*
* Creates a new #LfbEvent based on the given event
* name. See #LfbEvent:event for details.
*
* Returns: The #LfbEvent.
*/
LfbEvent * LfbEvent *
lfb_event_new (const char *event) lfb_event_new (const char *event)
{ {