[gnome-maps/wip/mlundblad/cleanup-gtk-deprecations: 4/8] routeEntry: Stop using GtkContainer add method
- From: Marcus Lundblad <mlundblad src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps/wip/mlundblad/cleanup-gtk-deprecations: 4/8] routeEntry: Stop using GtkContainer add method
- Date: Fri, 26 Mar 2021 21:43:35 +0000 (UTC)
commit 64a40f1edf84244d1da200abf96b81b112d5ac17
Author: Marcus Lundblad <ml update uu se>
Date: Thu Mar 25 21:58:25 2021 +0100
routeEntry: Stop using GtkContainer add method
In preparation for GTK 4 use class-specific methods
to add and remove children when possible.
src/routeEntry.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/routeEntry.js b/src/routeEntry.js
index ac2e2783..c2b62fc7 100644
--- a/src/routeEntry.js
+++ b/src/routeEntry.js
@@ -55,7 +55,7 @@ var RouteEntry = GObject.registerClass({
super._init(params);
this.entry = this._createEntry();
- this._entryGrid.add(this.entry);
+ this._entryGrid.attach(this.entry, 0, 0, 1, 1);
// There is no GdkWindow on the widget until it is realized
this._icon.connect('realize', function(icon) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]