[gnome-maps/wip/cdavis/post-port-cleanups: 20/22] general: Use present() instead of show_all()
- From: Marcus Lundblad <mlundblad src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps/wip/cdavis/post-port-cleanups: 20/22] general: Use present() instead of show_all()
- Date: Fri, 26 Aug 2022 20:08:43 +0000 (UTC)
commit 684a8e9ff341e0d9638e1dc60b95f132edc94d0d
Author: Christopher Davis <christopherdavis gnome org>
Date: Sun Aug 21 16:31:04 2022 -0400
general: Use present() instead of show_all()
show_all() is gone in GTK4
src/exportViewDialog.js | 2 +-
src/mainWindow.js | 2 +-
src/mapView.js | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/exportViewDialog.js b/src/exportViewDialog.js
index 02143893..bd30c560 100644
--- a/src/exportViewDialog.js
+++ b/src/exportViewDialog.js
@@ -183,7 +183,7 @@ export class ExportViewDialog extends Gtk.Dialog {
});
dialog.connect('response', () => dialog.destroy());
- dialog.show_all();
+ dialog.present();
}
}
}
diff --git a/src/mainWindow.js b/src/mainWindow.js
index 019c6d09..fb93a8b5 100644
--- a/src/mainWindow.js
+++ b/src/mainWindow.js
@@ -418,7 +418,7 @@ export class MainWindow extends Gtk.ApplicationWindow {
modal: true });
dialog.connect('response', () => dialog.destroy());
- dialog.show_all();
+ dialog.present();
break;
default:
diff --git a/src/mapView.js b/src/mapView.js
index e077a5dd..37fde131 100644
--- a/src/mapView.js
+++ b/src/mapView.js
@@ -533,7 +533,7 @@ export class MapView extends Gtk.Overlay {
}
dialog.destroy();
});
- dialog.show_all();
+ dialog.present();
} else {
this._loadShapeLayers(files);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]