qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] gtk: drop pointless code from gd_window_close


From: Mark Cave-Ayland
Subject: Re: [Qemu-devel] [PATCH] gtk: drop pointless code from gd_window_close
Date: Fri, 16 Mar 2018 10:53:44 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0

On 15/03/18 11:35, Philippe Mathieu-Daudé wrote:

On 03/14/2018 09:04 AM, Gerd Hoffmann wrote:
Unregistering the display change listener looks like a pointless
excercise given we'll exit in a moment.  When exiting qemu via

exercise

menu/file/quit this will not happen either.  Just drop the code.

Also return TRUE unconditionally.  This will tell gtk to ignore the
close request, so gtk will not start destroying widgets and causing
warnings due to UI code trying to talk to widgets which are gone.
Just depend on qmp_quit() doing it's job instead.

Reported-by: Mark Cave-Ayland <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>

Looks fine to me.
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>

Mark, is your issue resolved? (you might add your Tested-by).

Yes, I can confirm that this patch fixes my test case.

Tested-by: Mark Cave-Ayland <address@hidden>


ATB,

Mark.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]