Re: When to g_free()
- From: Havoc Pennington <hp redhat com>
- To: Andrea Frome <andrea bluemug com>
- Cc: gtk-list gnome org
- Subject: Re: When to g_free()
- Date: 15 Jun 2000 17:37:37 -0400
Andrea Frome <andrea@bluemug.com> writes:
> How do we tell if we're dealing with a legacy function?
>
Well, ideally it says in the docs. Failing that, this one is pretty
easy to tell from the source.
> I have a similar question with gtk_file_selection_get_filename(). It
> appears that it's returning a pointer from an internal structure
> that is freed when the file selection widget is destroyed, but I'm
> not positive.
>
That one is an old legacy function.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]