$OpenBSD: patch-servers_groupwise_e-gw-connection_c,v 1.2 2007/05/17 14:40:53 jasper Exp $ --- servers/groupwise/e-gw-connection.c.orig Wed Jan 3 11:09:26 2007 +++ servers/groupwise/e-gw-connection.c Sun Apr 22 21:11:41 2007 @@ -1996,8 +1996,8 @@ e_gw_connection_get_categories (EGwConnection *cnc, GH EGwConnectionPrivate *priv; SoupSoapParameter *param, *subparam, *second_level_child; char *id, *name; - g_return_val_if_fail (E_IS_GW_CONNECTION (cnc), E_GW_CONNECTION_STATUS_INVALID_OBJECT); static GStaticMutex connecting = G_STATIC_MUTEX_INIT; + g_return_val_if_fail (E_IS_GW_CONNECTION (cnc), E_GW_CONNECTION_STATUS_INVALID_OBJECT); priv = cnc->priv; g_static_mutex_lock (&connecting);