Re: [PATCH weston] Get rid of the window_create_menu function

2016-11-16 Thread Daniel Stone
Hi Dima, On 14 November 2016 at 07:44, Dima Ryazanov wrote: > It's currently unused, and there's actually no way to use it correctly. > > The caller cannot free the menu that was created: > - the function only returns the window, not the menu > - there's no public API to destroy a menu object > >

[PATCH weston] Get rid of the window_create_menu function

2016-11-13 Thread Dima Ryazanov
It's currently unused, and there's actually no way to use it correctly. The caller cannot free the menu that was created: - the function only returns the window, not the menu - there's no public API to destroy a menu object Signed-off-by: Dima Ryazanov --- clients/window.c | 15 ---