Clarify g_get_prgname docs. (#161480, Danny Milo)

2004-12-17  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/misc_utils.sgml: Clarify g_get_prgname docs.
	(#161480, Danny Milo)
This commit is contained in:
Matthias Clasen 2004-12-18 02:06:58 +00:00 committed by Matthias Clasen
parent c2dabea06d
commit f822229fea
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2004-12-17 Matthias Clasen <mclasen@redhat.com>
* glib/tmpl/misc_utils.sgml: Clarify g_get_prgname docs.
(#161480, Danny Milo)
2004-12-16 Matthias Clasen <mclasen@redhat.com>
* glib/tmpl/version.sgml: Improve wording. (#161484,

View File

@ -32,7 +32,7 @@ These are portable utility functions.
<!-- ##### FUNCTION g_get_prgname ##### -->
<para>
Gets the name of the program. This name should NOT be localized,
Gets the name of the program. This name should <emphasis>not</emphasis> be localized,
contrast with g_get_application_name().
(If you are using GDK or GTK+ the program name is set in gdk_init(), which
is called by gtk_init(). The program name is found by taking the last
@ -40,11 +40,12 @@ component of <literal>argv[0]</literal>.)
</para>
@Returns: the name of the program.
The returned string belongs to GLib and must not be modified or freed.
<!-- ##### FUNCTION g_set_prgname ##### -->
<para>
Sets the name of the program. This name should NOT be localized,
Sets the name of the program. This name should <emphasis>not</emphasis> be localized,
contrast with g_set_application_name(). Note that for thread-safety
reasons this function can only be called once.
</para>