From d81bdb979407c0d21ab562bc0a16533eb967eef1 Mon Sep 17 00:00:00 2001 From: "Nickolay V. Shmyrev" Date: Thu, 21 Dec 2006 09:14:52 +0000 Subject: Disconnect handlers on image destroy. Fixes bug #340165. 2006-12-21 Nickolay V. Shmyrev * mail/em-format-html-display.c: (efhd_image_unallocate), (efhd_attachment_image): Disconnect handlers on image destroy. Fixes bug #340165. Fixes changelog issue and build issue svn path=/trunk/; revision=33086 --- ChangeLog | 8 -------- mail/ChangeLog | 8 ++++++++ mail/em-format-html-display.c | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index c890313ac6..fe9fd2106c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,11 +1,3 @@ -2006-12-21 Nickolay V. Shmyrev - - * mail/em-format-html-display.c: (efhd_image_unallocate), - (efhd_attachment_image): - - Disconnect handlers on image destroy. Fixes bug - #340165. - 2006-12-18 Veerapuram Varadhan * NEWS, configure.in: Evolution 2.9.4 release diff --git a/mail/ChangeLog b/mail/ChangeLog index ab87ea6faf..1da41c0af1 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,11 @@ +2006-12-21 Nickolay V. Shmyrev + + * mail/em-format-html-display.c: (efhd_image_unallocate), + (efhd_attachment_image): + + Disconnect handlers on image destroy. Fixes bug + #340165. + 2006-12-18 Sankar P * mail-send-recv.c: (get_folders): diff --git a/mail/em-format-html-display.c b/mail/em-format-html-display.c index 4564e8155f..4c8f16444b 100644 --- a/mail/em-format-html-display.c +++ b/mail/em-format-html-display.c @@ -1698,7 +1698,7 @@ efhd_image_unallocate (struct _EMFormatPURI * puri) g_signal_handlers_disconnect_by_func(info->html, efhd_image_resized, info); g_signal_handlers_disconnect_by_func(info->event_box, efhd_image_popup, info); - g_signal_handlers_disconnect_by_func(info->event_box, efhd_image_change_cursor, info); + g_signal_handlers_disconnect_by_func(info->event_box, efhd_change_cursor, info); g_signal_handlers_disconnect_by_func(info->event_box, efhd_attachment_popup_menu, info); g_signal_handlers_disconnect_by_func(info->event_box, efhd_image_fit_width, info); } -- cgit v1.2.3