[NetworkManager-openvpn/lr/cert-chooser-type] editor: ensure NMACertChooser type is around
- From: Lubomir Rintel <lkundrak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [NetworkManager-openvpn/lr/cert-chooser-type] editor: ensure NMACertChooser type is around
- Date: Tue, 23 Oct 2018 14:18:14 +0000 (UTC)
commit aed0ad4c4e22b7deafc4ef3e9c2814c655c7500b
Author: Lubomir Rintel <lkundrak v3 sk>
Date: Mon Oct 22 10:36:49 2018 +0200
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.
properties/nm-openvpn-editor.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/properties/nm-openvpn-editor.c b/properties/nm-openvpn-editor.c
index 7d5192c..61aee39 100644
--- a/properties/nm-openvpn-editor.c
+++ b/properties/nm-openvpn-editor.c
@@ -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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]