Fix slightly messed up comment in Win_GParted::on_show() (#771816)

Bug 771816 - GParted never exits if the main window is closed before the
             initial device load completes
This commit is contained in:
Mike Fleetwood 2016-10-10 16:24:31 +01:00 committed by Curtis Gedak
parent 0fcf46da93
commit 6bacd6ae4d
1 changed files with 3 additions and 3 deletions

View File

@ -1393,10 +1393,10 @@ void Win_GParted::on_show()
close_operationslist() ; close_operationslist() ;
// Register callback for as soon as the main window has been shown to perform the // Register callback for as soon as the main window has been shown to perform the
// first load of the disk device details. Do it this way because the Gtk::main // first load of the disk device details. Do it this way because the Gtk main
// loop doesn't seem to enable quit handling until on_show(), this function, has // loop doesn't seem to enable quit handling until on_show(), this function, has
// drawn the main window for the first time and returned, and we want Close Window [Alt-quit to work // drawn the main window for the first time and returned, and we want Close Window
// during the initial load of the disk device details. // [Alt-F4] to work during the initial load of the disk device details.
g_idle_add( initial_device_refresh, this ); g_idle_add( initial_device_refresh, this );
} }