Re: Usage of g_str_strip

2005-10-17 Thread Sankar P
Thanks a lot. Your explanation was crisp/clear and probably could be added to devhelp. Regards, Sankar P On Mon, 2005-10-17 at 13:02 +0200, Iago Rubio wrote: > On Mon, 2005-10-17 at 14:11 +0530, Sankar P wrote: > > Hey all, > > > > There is a function g_strstrip defined to strip-off the leading

Re: Usage of g_str_strip

2005-10-17 Thread Iago Rubio
On Mon, 2005-10-17 at 14:11 +0530, Sankar P wrote: > Hey all, > > There is a function g_strstrip defined to strip-off the leading and > trailing spaces from a string. However, the working of this function is > a bit confusing. > > I have the following code-snippet : > > name = g_strstrip ( g_str

Usage of g_str_strip

2005-10-17 Thread Sankar P
Hey all, There is a function g_strstrip defined to strip-off the leading and trailing spaces from a string. However, the working of this function is a bit confusing. I have the following code-snippet : name = g_strstrip ( g_strdup (gtk_entry_get_text(GTK_ENTRY (name_entry; g_free (name); Is