Allow optional summary and description texts before and after the option

2006-05-13  Matthias Clasen  <mclasen@redhat.com>

	* glib/glib.symbols:
	* glib/goption.h:
	* glib/goption.c: Allow optional summary and description
	texts before and after the option descriptions, and add
	a way to translate them.  (#336120, Behdad Esfahbod)
This commit is contained in:
Matthias Clasen
2006-05-13 04:23:38 +00:00
committed by Matthias Clasen
parent d5b919142b
commit a052fd1202
7 changed files with 247 additions and 35 deletions

View File

@@ -1,3 +1,7 @@
2006-05-13 Matthias Clasen <mclasen@redhat.com>
* glib/glib-sections.txt: Document new api.
2006-05-11 Bastien Nocera <hadess@hadess.net>
* glib/tmpl/option.sgml: add documentation for G_OPTION_ARG_INT64

View File

@@ -954,6 +954,13 @@ G_OPTION_ERROR
GOptionArgFunc
GOptionContext
g_option_context_new
g_option_context_set_summary
g_option_context_get_summary
g_option_context_set_description
g_option_context_get_description
GTranslateFunc
g_option_context_set_translate_func
g_option_context_set_translation_domain
g_option_context_free
g_option_context_parse
g_option_context_set_help_enabled
@@ -976,7 +983,6 @@ GOptionParseFunc
g_option_group_set_parse_hooks
GOptionErrorFunc
g_option_group_set_error_hook
GTranslateFunc
g_option_group_set_translate_func
g_option_group_set_translation_domain
<SUBSECTION Private>