Community
Participate
Working Groups
Since this API was removed, and a native GTK replacement is not available, the solution to this involve using other libraries. See https://discourse.gnome.org/t/what-to-use-instead-of-statusicon-in-gtk4-to-display-the-icon-in-the-system-tray/7175 for some discussion about the possible avenues that could be explored as replacements. GNOME Shell doesn't have a system tray, thus this functionality was already broken in GTK3 since it just didn't do anything. Other Wayland based desktops such as KDE or Cinnamon could be supported with an external library in GTK4.