Method

GtkStatusIconset_from_gicon

deprecated: 3.14 since: 2.14

Declaration [src]

void
gtk_status_icon_set_from_gicon (
  GtkStatusIcon* status_icon,
  GIcon* icon
)

Description [src]

Makes status_icon display the GIcon. See gtk_status_icon_new_from_gicon() for details.

Available since: 2.14

Deprecated since: 3.14

Use GNotification and GtkApplication to provide status notifications; you can use g_notification_set_icon() to associate a GIcon with a notification.

Parameters

icon

Type: GIcon

A GIcon.

The data is owned by the caller of the method.