From 0be6bdbb69c57634aacb0f09eda6a9fbf39e77ab Mon Sep 17 00:00:00 2001 From: Alain Date: Sat, 8 Feb 2025 07:15:04 -0500 Subject: [PATCH] fix overlay child --- lib/Widgets/NotifyToastOverlay.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Widgets/NotifyToastOverlay.vala b/lib/Widgets/NotifyToastOverlay.vala index 7eae08ec1..bdf21fa92 100644 --- a/lib/Widgets/NotifyToastOverlay.vala +++ b/lib/Widgets/NotifyToastOverlay.vala @@ -25,7 +25,7 @@ public class Granite.NotifyToastOverlay : Gtk.Widget { _child = value; if (_child != null) { - _child.set_parent (overlay); + overlay.child = _child; } } } @@ -136,7 +136,7 @@ public class Granite.NotifyToastOverlay : Gtk.Widget { Timeout.add (revealer.transition_duration, () => { revealer.reveal_child = true; - start_timeout (); + // start_timeout (); return GLib.Source.REMOVE; }); }