Re: gtk_exit() vs return()?



<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]