From 141f7d18bc9724ec423d84b3754c00299c322d0f Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Tue, 6 Jan 2004 17:22:51 +0000 Subject: disconnect the activated signal 2004-01-06 JP Rosevear * gui/e-select-names-renderer.c (esnr_editing_done): disconnect the activated signal svn path=/trunk/; revision=24069 --- calendar/gui/e-select-names-renderer.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'calendar/gui') diff --git a/calendar/gui/e-select-names-renderer.c b/calendar/gui/e-select-names-renderer.c index 9ab1a2eb83..59f8169843 100644 --- a/calendar/gui/e-select-names-renderer.c +++ b/calendar/gui/e-select-names-renderer.c @@ -53,7 +53,12 @@ static void esnr_editing_done (GtkCellEditable *editable, ESelectNamesRenderer *cell) { gchar *new_address, *new_name; + BonoboControlFrame *cf; + /* We don't need to listen for the de-activation any more */ + cf = bonobo_widget_get_control_frame (BONOBO_WIDGET (editable)); + g_signal_handlers_disconnect_matched (G_OBJECT (cf), G_SIGNAL_MATCH_DATA, 0, 0, NULL, NULL, cell); + new_address = e_select_names_editable_get_address (E_SELECT_NAMES_EDITABLE (editable)); new_name = e_select_names_editable_get_name (E_SELECT_NAMES_EDITABLE (editable)); -- cgit