Commit aed0ad4c authored by Lubomir Rintel's avatar Lubomir Rintel

editor: ensure NMACertChooser type is around

The widget classes templated with GtkBuilder don't load the types they
require, leaving their users in despair and gloom:

  ** (run-vpn:1094459): CRITICAL **: 11:33:54.424: file
        properties/nm-openvpn-editor.c: line 2623
        (openvpn_editor_new): should not be reached
  Error: .:4:2076 Invalid object type 'NMACertChooser'

Drag this one in manually.
parent eb66e2e0
Pipeline #37097 passed with stages
in 5 minutes and 27 seconds
......@@ -2690,6 +2690,7 @@ nm_vpn_editor_factory_openvpn (NMVpnEditorPlugin *editor_plugin,
NMConnection *connection,
GError **error)
{
g_type_ensure (NMA_TYPE_CERT_CHOOSER);
return openvpn_editor_new (connection, error);
}
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment