Merge pull request #5502 from anthonyryan1/master
Replace gtk_widget_hide_all with gtk_widget_hide
This commit is contained in:
commit
b32bc8cf3e
2 changed files with 2 additions and 2 deletions
|
@ -151,7 +151,7 @@ class FileChooserDialog {
|
||||||
};
|
};
|
||||||
|
|
||||||
void FileChooserDialog::OnFileDialogResponse(GtkWidget* widget, int response) {
|
void FileChooserDialog::OnFileDialogResponse(GtkWidget* widget, int response) {
|
||||||
gtk_widget_hide_all(dialog_);
|
gtk_widget_hide(dialog_);
|
||||||
|
|
||||||
if (!save_callback_.is_null()) {
|
if (!save_callback_.is_null()) {
|
||||||
if (response == GTK_RESPONSE_ACCEPT)
|
if (response == GTK_RESPONSE_ACCEPT)
|
||||||
|
|
|
@ -156,7 +156,7 @@ class GtkMessageBox {
|
||||||
};
|
};
|
||||||
|
|
||||||
void GtkMessageBox::OnResponseDialog(GtkWidget* widget, int response) {
|
void GtkMessageBox::OnResponseDialog(GtkWidget* widget, int response) {
|
||||||
gtk_widget_hide_all(dialog_);
|
gtk_widget_hide(dialog_);
|
||||||
|
|
||||||
if (response < 0)
|
if (response < 0)
|
||||||
callback_.Run(cancel_id_);
|
callback_.Run(cancel_id_);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue