Method

GLibVariantDictremove

since: 2.40

Declaration

gboolean
g_variant_dict_remove (
  GVariantDict* dict,
  const gchar* key
)

Description

Removes a key and its associated value from a GVariantDict.

Available since: 2.40

Parameters

key

Type: const gchar*

The key to remove.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.

Return value

Type: gboolean

TRUE if the key was found and removed.