20 lines
643 B
Diff
20 lines
643 B
Diff
|
Index: gnome-control-center-41.4/panels/network/connection-editor/vpn-helpers.c
|
||
|
===================================================================
|
||
|
--- gnome-control-center-41.4.orig/panels/network/connection-editor/vpn-helpers.c
|
||
|
+++ gnome-control-center-41.4/panels/network/connection-editor/vpn-helpers.c
|
||
|
@@ -53,14 +53,9 @@ _sort_vpn_plugins (NMVpnPluginInfo *aa,
|
||
|
GSList *
|
||
|
vpn_get_plugins (void)
|
||
|
{
|
||
|
- static gboolean plugins_loaded = FALSE;
|
||
|
static GSList *plugins = NULL;
|
||
|
GSList *p;
|
||
|
|
||
|
- if (G_LIKELY (plugins_loaded))
|
||
|
- return plugins;
|
||
|
- plugins_loaded = TRUE;
|
||
|
-
|
||
|
p = nm_vpn_plugin_info_list_load ();
|
||
|
plugins = NULL;
|
||
|
while (p) {
|