gobject api help

2008-04-03 Thread D Bera
For those who deal with gobject API, when you pass a string (char* or const char*) to an API function, whose responsibility is it to free the string ? What is the usual practice ? Is there any way to distinguish methods that take a string and own it and methods that make a copy of the string so

Re: gobject api help

2008-04-03 Thread Joe Shaw
Hi, On Thu, Apr 3, 2008 at 1:34 PM, D Bera [EMAIL PROTECTED] wrote: For those who deal with gobject API, when you pass a string (char* or const char*) to an API function, whose responsibility is it to free the string ? What is the usual practice ? Is there any way to distinguish methods