Improve g_find_program_in_path documentation
authorPaolo Borelli <pborelli@gnome.org>
Fri, 15 Jun 2012 12:41:20 +0000 (14:41 +0200)
committerPaolo Borelli <paolo.borelli@nice-software.com>
Fri, 15 Jun 2012 12:47:04 +0000 (14:47 +0200)
Document that g_find_program_in_path returns a newly-allocated string

glib/gutils.c

index 42a98fc..38b5e44 100644 (file)
@@ -377,7 +377,7 @@ g_find_program_in_path (const gchar *program)
  * variable. If the program is found, the return value contains the 
  * full name including the type suffix.
  *
- * Return value: absolute path, or %NULL
+ * Return value: a newly-allocated string with the absolute path, or %NULL
  **/
 #ifdef G_OS_WIN32
 static gchar *