Method

GObjectObjectremove_toggle_ref

Declaration

void
g_object_remove_toggle_ref (
  GObject* object,
  GToggleNotify notify,
  gpointer data
)

Description

Removes a reference added with g_object_add_toggle_ref(). The reference count of the object is decreased by one.

Available since:2.8

Parameters

notify GToggleNotify
 

A function to call when this reference is the last reference to the object, or is no longer the last reference.

data gpointer
 

Data to pass to notify, or NULL to match any toggle refs with the notify argument.