Merge pull request #5502 from anthonyryan1/master

Replace gtk_widget_hide_all with gtk_widget_hide
This commit is contained in:
Cheng Zhao 2016-05-12 19:37:25 +09:00
commit b32bc8cf3e
2 changed files with 2 additions and 2 deletions

View file

@ -151,7 +151,7 @@ class FileChooserDialog {
};
void FileChooserDialog::OnFileDialogResponse(GtkWidget* widget, int response) {
gtk_widget_hide_all(dialog_);
gtk_widget_hide(dialog_);
if (!save_callback_.is_null()) {
if (response == GTK_RESPONSE_ACCEPT)

View file

@ -156,7 +156,7 @@ class GtkMessageBox {
};
void GtkMessageBox::OnResponseDialog(GtkWidget* widget, int response) {
gtk_widget_hide_all(dialog_);
gtk_widget_hide(dialog_);
if (response < 0)
callback_.Run(cancel_id_);