On Mon, 2001-10-01 at 19:11, Michael Meeks wrote: > > Hi Iain, > > On 29 Sep 2001, Iain wrote: > > Hi, this patch is required for creating a BonoboListener with > > bonobo_listener_new (NULL, NULL); without the patch it gives a > > warning. > > I can't concive of why you might possibly want to do this. It > creates an object that has precicely 0 use, and can't be made to have any > use later. > > Perhaps some preconditions on '_new' to return NULL if you do this > would be better ? that is unless you have some rational for needing a > listener like that ? Because I want to use a signal instead of the callback, so I do l = bonobo_listener_new (NULL, NULL); g_signal_connect (l, "notify-event", etc, etc); iain -- "It isn't rebels who cause the troubles of the world, it's the troubles that cause the rebels." - Carl Oglesby
Attachment:
pgpf6bvZC6TsN.pgp
Description: PGP signature