Thanks for the patch. In GNOME the preferred way to do this is with:

  https://docs.gtk.org/glib/func.return_val_if_fail.html

Actually that's exactly what the official version of
gtk_widget_get_first_child in GTK4 does.

Please then propose the fix at:

  https://gitlab.gnome.org/GNOME/nautilus/-/merge_requests

to the gnome-42 branch (sorry I can't check it right now because the
server is down). Or alternatively if the GNOME developers tell you 42 is
too old for them to support then please propose the fix at:

  https://salsa.debian.org/gnome-team/nautilus/-/merge_requests

to the ubuntu/jammy branch.

Finally, in order to get the fix released to 22.04, the bug description
needs to be updated:

  https://canonical-sru-docs.readthedocs-
hosted.com/en/latest/reference/bug-template/


** Changed in: nautilus (Ubuntu Jammy)
     Assignee: (unassigned) => Eugene Romanenko (eros2)

** Changed in: nautilus (Ubuntu Jammy)
       Status: Confirmed => In Progress

** Changed in: nautilus (Ubuntu Jammy)
    Milestone: None => jammy-updates

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to nautilus in Ubuntu.
https://bugs.launchpad.net/bugs/2011350

Title:
  ERROR:../src/nautilus-gtk4-helpers.c:116:gtk_widget_get_first_child:
  assertion failed: (GTK_IS_CONTAINER (widget))

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/2011350/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to