diff options
author | Diego Escalante Urrelo <diegoe@igalia.com> | 2012-02-08 03:27:39 -0500 |
---|---|---|
committer | Diego Escalante Urrelo <diegoe@igalia.com> | 2012-02-08 04:36:26 -0500 |
commit | a0f6fc137b81b1cecd012b47419de6144bce5658 (patch) | |
tree | 54b5ce6ebdb948355bc5b48cdb0319c3fd134642 | |
parent | afcd3c9f70cc1968a6e1b93786ecd1786b57d537 (diff) | |
download | gtk+-a0f6fc137b81b1cecd012b47419de6144bce5658.tar.gz |
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
-rw-r--r-- | gtk/gtkactiongroup.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtkactiongroup.c b/gtk/gtkactiongroup.c index cb16e44f0e..4c03b7515b 100644 --- a/gtk/gtkactiongroup.c +++ b/gtk/gtkactiongroup.c @@ -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 |