Constructor

GioEmblemnew_with_origin

Declaration

GEmblem*
g_emblem_new_with_origin (
  GIcon* icon,
  GEmblemOrigin origin
)

Description

Creates a new emblem for icon.

Available since:2.18

Parameters

icon GIcon
 

A GIcon containing the icon.

 The data is owned by the caller of the function.
origin GEmblemOrigin
 

A GEmblemOrigin enum defining the emblem’s origin.

Return value

Returns: GEmblem
 

A new GEmblem.

 The caller of the function takes ownership of the data, and is responsible for freeing it.