diff options
author | Devashish Sharma <dsharma@src.gnome.org> | 2006-02-28 16:20:18 +0800 |
---|---|---|
committer | Devashish Sharma <dsharma@src.gnome.org> | 2006-02-28 16:20:18 +0800 |
commit | 1b8b65aad4be457d227ed0a6a9c03572cd6de6b0 (patch) | |
tree | 7c3fddae8ec0d4d898b785495f1849e833d5b1b9 /addressbook | |
parent | fad8315b83dc9965486fcde694bd168edd95939b (diff) | |
download | gsoc2013-evolution-1b8b65aad4be457d227ed0a6a9c03572cd6de6b0.tar.gz gsoc2013-evolution-1b8b65aad4be457d227ed0a6a9c03572cd6de6b0.tar.zst gsoc2013-evolution-1b8b65aad4be457d227ed0a6a9c03572cd6de6b0.zip |
Fix for Bug 332811
svn path=/trunk/; revision=31605
Diffstat (limited to 'addressbook')
-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; |