Skip to content

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

Nelson Ben requested to merge fix_type_ensure_template into main

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