From 62ba4fa91a8949d3a71d4c9ce900b1582cd45ece Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 9 Nov 2007 02:50:44 +0000 Subject: [PATCH] Improve the docs. (#436293, Vincent Untz) 2007-11-08 Matthias Clasen * glib/goption.c (g_option_context_new): Improve the docs. (#436293, Vincent Untz) svn path=/trunk/; revision=5834 --- ChangeLog | 5 +++++ glib/goption.c | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 64cb8869e..71e31e9e0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-11-08 Matthias Clasen + + * glib/goption.c (g_option_context_new): Improve the docs. + (#436293, Vincent Untz) + 2007-11-08 Matthias Clasen * glib/gmain.c (g_main_loop_quit): Expand the docs diff --git a/glib/goption.c b/glib/goption.c index c385140f0..c1e6068a2 100644 --- a/glib/goption.c +++ b/glib/goption.c @@ -205,8 +205,9 @@ g_option_error_quark (void) * program functionality that should be displayed as a paragraph * below the usage line, use g_option_context_set_summary(). * - * Note that the @parameter_string is translated (see - * g_option_context_set_translate_func()). + * Note that the @parameter_string is translated using the + * function set with g_option_context_set_translate_func(), so + * it should normally be passed untranslated. * * Returns: a newly created #GOptionContext, which must be * freed with g_option_context_free() after use. -- 2.34.1