Function

Birbcount_property_changed

since: 0.4

Declaration [src]

void
birb_count_property_changed (
  GObject* obj,
  const char* name,
  guint* counter
)

Description [src]

Counts how many times GObject::notify has been called.

If name is not NULL, the detailed notify signal will be used.

This is useful for unit tests to verify that their property changes are emitting the notify signal.

Available since: 0.4

Parameters

obj

Type: GObject

The object.

The data is owned by the caller of the function.
name

Type: const char*

The property name.

The argument can be NULL.
The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
counter

Type: guint*

The address of the counter.

The data is owned by the caller of the function.