aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorDevashish Sharma <dsharma@src.gnome.org>2006-02-28 16:20:18 +0800
committerDevashish Sharma <dsharma@src.gnome.org>2006-02-28 16:20:18 +0800
commit1b8b65aad4be457d227ed0a6a9c03572cd6de6b0 (patch)
tree7c3fddae8ec0d4d898b785495f1849e833d5b1b9 /addressbook
parentfad8315b83dc9965486fcde694bd168edd95939b (diff)
downloadgsoc2013-evolution-1b8b65aad4be457d227ed0a6a9c03572cd6de6b0.tar
gsoc2013-evolution-1b8b65aad4be457d227ed0a6a9c03572cd6de6b0.tar.gz
gsoc2013-evolution-1b8b65aad4be457d227ed0a6a9c03572cd6de6b0.tar.bz2
gsoc2013-evolution-1b8b65aad4be457d227ed0a6a9c03572cd6de6b0.tar.lz
gsoc2013-evolution-1b8b65aad4be457d227ed0a6a9c03572cd6de6b0.tar.xz
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/ChangeLog5
-rw-r--r--addressbook/gui/contact-editor/e-contact-editor.c2
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;