Improve gtk_widget_insert_action_group docs

Mention that group can be NULL. Related to

https://bugzilla.gnome.org/show_bug.cgi?id=708150
This commit is contained in:
Matthias Clasen 2013-09-16 21:13:00 -04:00
parent 4a90a0da12
commit 58e9e9d316

View File

@ -15520,13 +15520,16 @@ _gtk_widget_get_action_muxer (GtkWidget *widget)
* gtk_widget_insert_action_group:
* @widget: a #GtkWidget
* @name: the prefix for actions in @group
* @group: a #GActionGroup
* @group: (allow-none): a #GActionGroup, or %NULL
*
* Inserts @group into @widget. Children of @widget that implement
* #GtkActionable can then be associated with actions in @group by
* setting their 'action-name' to
* @prefix.<replaceable>action-name</replaceable>.
*
* If @group is %NULL, a previously inserted group for @name is removed
* from @widget.
*
* Since: 3.6
*/
void