Re: [evolution-patches] Cleanups of deprecated functions for the composer component



tor, 30,.09.2004 kl. 09.30 +0800, skrev Not Zed:
> 
> On Wed, 2004-09-29 at 22:12 +0200, Kjartan Maraas wrote:
> > --- e-msg-composer-attachment.c 20 Sep 2004 05:59:54 -0000      1.55
> > +++ e-msg-composer-attachment.c 29 Sep 2004 20:12:04 -0000
> > @@ -456,8 +456,8 @@ e_msg_composer_attachment_edit (EMsgComp
> > #warning "signal connect while alive"  
> 
> the warning is there because its deprecated so could be removed now :)
> 
Leaving it until later.

> >         /* make sure that when the composer gets hidden/closed that
> > our windows also close */
> >         parent = gtk_widget_get_toplevel (parent);
> > -       gtk_signal_connect_while_alive (GTK_OBJECT (parent),
> > "destroy", (GCallback)close_cb, dialog_data,
> > +       g_signal_connect_while_alive (GTK_OBJECT (parent),
> > "destroy", (GCallback)close_cb, dialog_data,
> >                                         GTK_OBJECT (dialog_data-
> > >dialog));
> > -       gtk_signal_connect_while_alive (GTK_OBJECT (parent), "hide",
> > (GCallback)close_cb, dialog_data,
> > +       g_signal_connect_while_alive (GTK_OBJECT (parent), "hide",
> > (GCallback)close_cb, dialog_data,
> >                                         GTK_OBJECT (dialog_data-
> > >dialog));
> > }
> 
> Which version of glib is this?  I see this function nowhere in my
> glib/gtk tree.
> 
Hmm, I seem to have lost that particular version of glib myself :-)

It was just part of some sed'ing gone haywire I think. I removed it and
will look at it again later.

> the other bits look ok (w/ changelog etc).

Commited without the above change.

Cheers
Kjartan




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