Skip to content

ev-toolbar.c: fix crash when instantiating .ui template

Nelson Ben requested to merge gnome44_backport_template_crash into gnome-44

Fix crash when instantiating evince-toolbar.ui template because Evince custom types used in that template were still unregistered in GTK type system.

Register them with g_type_ensure() just before instantiating the .ui template with gtk_widget_init_template()

Closes #1930 (closed)

Merge request reports