Re: gtk_exit() vs return()?
- From: Havoc Pennington <hp redhat com>
- To: <learfox furry ao net>
- Cc: GTK Application Development List <gtk-app-devel-list gnome org>
- Subject: Re: gtk_exit() vs return()?
- Date: 09 May 2001 18:23:13 -0400
<learfox furry ao net> writes:
At the end of main(), should I just put a return(0) or do I need
gtk_exit(0)?
The documentation for gtk_exit() says it causes program to exits and free
up all GTK+ resources. Would the program simply finishing by itself
achieve the same result?
Yes. gtk_exit() is useless, just return from main or use exit().
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]