gtkactiongroup: clarify set_translation_domain docs

NULL is an actual useful value for
gtk_action_group_set_translation_domain, but this information is buried
in g_dgettext() documentation.

Be extra redundant, to make it obvious that NULL is ok.

https://bugzilla.gnome.org/show_bug.cgi?id=669636
This commit is contained in:
Diego Escalante Urrelo 2012-02-08 03:27:39 -05:00
parent afcd3c9f70
commit a0f6fc137b

View File

@ -1406,7 +1406,8 @@ dgettext_swapped (const gchar *msgid,
/**
* gtk_action_group_set_translation_domain:
* @action_group: a #GtkActionGroup
* @domain: the translation domain to use for g_dgettext() calls
* @domain: (allow-none): the translation domain to use for g_dgettext()
* calls, or %NULL to use the domain set with textdomain()
*
* Sets the translation domain and uses g_dgettext() for translating the
* @label and @tooltip of #GtkActionEntry<!-- -->s added by