static GQuark detail_for_state(AvahiEntryGroupState state) {
static struct {
- AvahiClientState state;
+ AvahiEntryGroupState state;
const gchar *name;
GQuark quark;
} states[] = {
GaClient * client, GError ** error) {
GaEntryGroupPrivate *priv = GA_ENTRY_GROUP_GET_PRIVATE(group);
+ g_return_val_if_fail(client->avahi_client, FALSE);
g_assert(priv->client == NULL || priv->client == client);
g_assert(priv->group == NULL);