Replace gtk_widget_hide_all with gtk_widget_hide

gtk_widget_hide_all was deprecated in gtk+ 2.24 and was removed
entirely in recent versions. This is a pretty straight forward
replacement.
This commit is contained in:
Anthony Ryan 2016-05-11 15:33:43 -04:00
parent 064af6ecb2
commit c29b844a97
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

@ -149,7 +149,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_);