Method

GLibVariantDictremove

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 const gchar*
 

The key to remove.

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

Return value

Returns: gboolean
 

TRUE if the key was found and removed.