Method

GrlSourcenotify_change_list

since: 0.2.0

Declaration [src]

void
grl_source_notify_change_list (
  GrlSource* source,
  GPtrArray* changed_medias,
  GrlSourceChangeType change_type,
  gboolean location_unknown
)

Description [src]

Emits “content-changed” signal to notify subscribers that a change ocurred in source.

The function will take ownership of changed medias and it should not be manipulated in any way by the caller after invoking this function. If that is needed, the caller must ref the array in advance.

See GrlSource::content-changed signal.

This function is intended to be used only by plugins.

Available since: 0.2.0

Parameters

changed_medias

Type: An array of GrlMedia*

The list of medias that have changed.

The instance takes ownership of the data, and is responsible for freeing it.
change_type

Type: GrlSourceChangeType

The type of change.

location_unknown

Type: gboolean

If change has happpened in media or any descendant.