diff options
-rw-r--r-- | addressbook/ChangeLog | 5 | ||||
-rw-r--r-- | addressbook/gui/contact-editor/e-contact-editor.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index b4741de467..b0527dabb4 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,8 @@ +2006-02-28 Devashish Sharma <sdevashish@novell.com> + + * gui/contact-editor/e-contact-editor.c (extract_simple_field): Fix for Bug + #332811 crash adding an image to a contact. + 2006-02-27 Devashish Sharma <sdevashish@novell.com> * gui/contact-editor/e-contact-editor.c: Fix for Bug #332498: orphaned diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c index 120a73f13f..75e4cd2712 100644 --- a/addressbook/gui/contact-editor/e-contact-editor.c +++ b/addressbook/gui/contact-editor/e-contact-editor.c @@ -2269,7 +2269,7 @@ extract_simple_field (EContactEditor *editor, GtkWidget *widget, gint field_id) height = gdk_pixbuf_get_height (pixbuf); width = gdk_pixbuf_get_width (pixbuf); - if ((height > 96 || width > 96) && e_error_run (GTK_WINDOW (editor), "addressbook:prompt-resize", NULL) == GTK_RESPONSE_YES) { + if ((height > 96 || width > 96) && e_error_run (GTK_WINDOW (editor->app), "addressbook:prompt-resize", NULL) == GTK_RESPONSE_YES) { if ( width > height) { height = height * 96 / width; |