Increments the reference count of info
by one.
A function similar to gtk_application_set_accels_for_action().
accels
must not be %NULL, it must be a %NULL-terminated array, to be
consistent with gtk_application_set_accels_for_action().
a %NULL-terminated array of accelerators in the format understood by gtk_accelerator_parse().
Sets the action name, for example "win.save"
.
the action name.
Decrements the reference count of info
by one. If the reference count drops
to 0, info
is freed.
Creates a new #GtefActionInfo from a #GtefActionInfoEntry.
If translation_domain
is not %NULL, g_dgettext() is used to translate the
label
and tooltip
before setting them to the #GtefActionInfo.
a #GtefActionInfoEntry.
a gettext domain, or %NULL.
Returns the accelerators. This function never returns %NULL, it always returns a %NULL-terminated array, to be suitable for gtk_application_set_accels_for_action().