From 8cea1113290a6b57dc9e3e10dfeddbe964850d8f Mon Sep 17 00:00:00 2001 From: "Jeffrey C. Ollie" Date: Tue, 8 Jul 2025 12:19:12 -0500 Subject: [PATCH] gtk: add some comments for show_child_exited --- src/apprt/gtk/Surface.zig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/apprt/gtk/Surface.zig b/src/apprt/gtk/Surface.zig index 6ccc132f0..e2051b2f3 100644 --- a/src/apprt/gtk/Surface.zig +++ b/src/apprt/gtk/Surface.zig @@ -2504,6 +2504,9 @@ fn gtkStreamEnded(media_file: *gtk.MediaFile, _: *gobject.ParamSpec, _: ?*anyopa media_file.unref(); } +/// Show native GUI element with a notification that the child process has +/// closed. Return `true` if we are able to show the GUI notification, and +/// `false` if we are not. pub fn showChildExited(self: *Surface, info: apprt.surface.Message.ChildExited) error{}!bool { if (!adw_version.supportsBanner()) return false;