[glib] Improve g_find_program_in_path documentation



commit 6a5b3729ab447dd93ba337fa916067d5af2419dc
Author: Paolo Borelli <pborelli gnome org>
Date:   Fri Jun 15 14:41:20 2012 +0200

    Improve g_find_program_in_path documentation
    
    Document that g_find_program_in_path returns a newly-allocated string

 glib/gutils.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glib/gutils.c b/glib/gutils.c
index 42a98fc..38b5e44 100644
--- a/glib/gutils.c
+++ b/glib/gutils.c
@@ -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 *



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]