/*
* ga-entry-group.c - Source for GaEntryGroup
- * Copyright (C) 2005 Collabora Ltd.
+ * Copyright (C) 2006-2007 Collabora Ltd.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
gboolean ga_entry_group_service_remove_key(GaEntryGroupService * service,
const gchar * key, GError ** error) {
GaEntryGroupServicePrivate *priv = (GaEntryGroupServicePrivate *) service;
+ GaEntryGroupServiceEntry entry;
- g_hash_table_remove(priv->entries, key);
+ entry.value = (void*) key;
+ entry.size = strlen(key);
+
+ g_hash_table_remove(priv->entries, &entry);
if (!priv->frozen)
return ga_entry_group_service_thaw(service, error);