Re: Memory Usage

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

 



On Thu, 2006-10-26 at 02:38 -0700, Andre Messerschmidt wrote:> David Neèas (Yeti) <yeti@xxxxxxxxxxxxxxx> wrote:>         I doubt creation and desctruction of windows can be done>         safely in a signal handler while Gtk+ main loop is running>         and the program can be anywhere in Gtk+ code at the time it>         is delivered.> I changed my code to destroy the window by using> g_signal_emit_by_name(window,"destroy"), but that did not change> anything.
You must not do anything in a unix signal handler but settingflags or calling a *very* limited set of functions.
Calling GTK functions is a reliable way to break your application.
Besides, you don't need this signal handler. You almost *never*need signal handlers, generally.
ciao,--mitch
_______________________________________________gtk-list mailing listgtk-list@xxxxxxxxxxxxx://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux