Re: Widget signals don't work - are they signals at all?



On Thu, Dec 12, 2002 at 01:46:31PM +0100, horrorvacui gmx net wrote:
      g_signal_connect(G_OBJECT (term), "child_exited_signal",
                              G_CALLBACK (delete_event), NULL);

But when the shell exits, I get the message:
(clingui:1778): GLib-GObject-WARNING **:
gsignal.c:1633:g_signal_connect_data(): signal `child_exited_signal' is
invalid for instance `0x807d220'

The signal is called just "child_exited"

Look at the g_signal_new() calls in vte.c.

      guint eof_signal;
      guint child_exited_signal;
      guint emulation_changed_signal;

This is not following the usual GTK convention. These are signal IDs,
instead of signal default handlers. GObject allows this, though I'm
not really sure why Nalin did it this way.

Havoc



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