### Function Macro

# GLib datalist_remove_data

since: 2.0

#### Declaration

    #define g_datalist_remove_data (
      dl,
      k
    )

#### Description

Removes an element using its string identifier. The data element’s destroy function is called if it has been set.

Available since: 2.0

This function is not directly available to language bindings.

#### Parameters

`dl`

  Type: `-`

  A datalist.

`k`

  Type: `-`

  The string identifying the data element.