lfb-event: Avoid allocation when getting profile
We can return the const *. This makes it consistent with other getters. This is an API change we didn't find any users and the API is declared unstable.
This commit is contained in:
@@ -74,7 +74,7 @@ gboolean lfb_event_end_feedback_finish (LfbEvent *self,
|
||||
void lfb_event_set_timeout (LfbEvent *self, gint timeout);
|
||||
gint lfb_event_get_timeout (LfbEvent *self);
|
||||
void lfb_event_set_feedback_profile (LfbEvent *self, const char *profile);
|
||||
char *lfb_event_get_feedback_profile (LfbEvent *self);
|
||||
const char *lfb_event_get_feedback_profile (LfbEvent *self);
|
||||
const char *lfb_event_get_event (LfbEvent *self);
|
||||
LfbEventState lfb_event_get_state (LfbEvent *self);
|
||||
LfbEventEndReason lfb_event_get_end_reason (LfbEvent *self);
|
||||
|
||||
Reference in New Issue
Block a user