This is a utility function for GtkActivatable implementors.
When implementing GtkActivatable you must call this when
handling changes of the related-action, and
you must also use this to break references in [GObject-|GObject-]>dispose().
This function adds a reference to the currently set related
action for you, it also makes sure the [GtkActivatable-|GtkActivatable-]>update()
method is called when the related gtk.Action properties change
and registers to the action’s proxy list.
> Be careful to call this before setting the local
> copy of the gtk.Action property, since this function uses
> gtk_activatable_get_related_action() to retrieve the
> previous action.
This is a utility function for GtkActivatable implementors.
When implementing GtkActivatable you must call this when handling changes of the related-action, and you must also use this to break references in [GObject-|GObject-]>dispose().
This function adds a reference to the currently set related action for you, it also makes sure the [GtkActivatable-|GtkActivatable-]>update() method is called when the related gtk.Action properties change and registers to the action’s proxy list.
> Be careful to call this before setting the local > copy of the gtk.Action property, since this function uses > gtk_activatable_get_related_action() to retrieve the > previous action.