wayland/inhibit-dialog: Drop duplicated hide call
the destroy and the response handler, already hide the dialog themselves. The calls here were unnecessary. Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/3048 Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4034>
This commit is contained in:
parent
40773765df
commit
3eb5381c46
2 changed files with 0 additions and 2 deletions
|
@ -97,5 +97,4 @@ meta_inhibit_shortcuts_dialog_response (MetaInhibitShortcutsDialog *dial
|
|||
MetaInhibitShortcutsDialogResponse response)
|
||||
{
|
||||
g_signal_emit (dialog, inhibit_dialog_signals[RESPONSE], 0, response);
|
||||
meta_inhibit_shortcuts_dialog_hide (dialog);
|
||||
}
|
||||
|
|
|
@ -99,7 +99,6 @@ inhibit_shortcuts_dialog_response_cb (MetaInhibitShortcutsDialog *dialog,
|
|||
if (!data->request_canceled)
|
||||
inhibit_shortcuts_dialog_response_apply (data);
|
||||
|
||||
meta_inhibit_shortcuts_dialog_hide (data->dialog);
|
||||
surface_inhibit_shortcuts_data_destroy_dialog (data);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue