[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [PATCH] implement gtk_exit()



"muppet" <scott asofyet org> writes:

> > + ## void gtk_exit (gint error_code);
> > +void gtk_exit (gint error_code)
> 
> it would have to be
>   void gtk_exit (SV * class, int error_code)
>       C_ARGS:
>           error_code
>  so that the syntax Gtk2->exit($code); would work...

i used gtk2::exit which works but obviously the gtk2->exit does not.

thanks

> but it will not be added, because the function is deprecated.
> http://developer.gnome.org/doc/API/2.0/gtk/gtk-General.html#gtk-exit

ok, let's do ->main_quit then exit(XXX) in tools then ...




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]