Re: [PATCH libinput 6/6] doc: put some extra warning in for libinput_event_destroy()

2014-12-10 Thread Jonas Ådahl
Hi, Comment inline. On Wed, Dec 10, 2014 at 10:34:04AM +1000, Peter Hutterer wrote: Unlike all other structs, events aren't refcounted and will get destroyed immediately. Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- src/libinput.h | 10 +- 1 file changed, 9

Re: [PATCH libinput 6/6] doc: put some extra warning in for libinput_event_destroy()

2014-12-10 Thread Peter Hutterer
On Wed, Dec 10, 2014 at 06:01:13PM +0800, Jonas Ådahl wrote: Hi, Comment inline. On Wed, Dec 10, 2014 at 10:34:04AM +1000, Peter Hutterer wrote: Unlike all other structs, events aren't refcounted and will get destroyed immediately. Signed-off-by: Peter Hutterer

Re: [PATCH libinput 6/6] doc: put some extra warning in for libinput_event_destroy()

2014-12-10 Thread Jonas Ådahl
On Thu, Dec 11, 2014 at 09:07:12AM +1000, Peter Hutterer wrote: On Wed, Dec 10, 2014 at 06:01:13PM +0800, Jonas Ådahl wrote: Hi, Comment inline. On Wed, Dec 10, 2014 at 10:34:04AM +1000, Peter Hutterer wrote: Unlike all other structs, events aren't refcounted and will get destroyed

[PATCH libinput 6/6] doc: put some extra warning in for libinput_event_destroy()

2014-12-09 Thread Peter Hutterer
Unlike all other structs, events aren't refcounted and will get destroyed immediately. Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- src/libinput.h | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/libinput.h b/src/libinput.h index 7e5d93c..f7cb169