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




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 :)

        /* 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.

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

--
Michael Zucchi <notzed ximian com>
"born to die, live to work, it's all downhill from here"
Novell's Evolution and Free Software Developer


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