aboutsummaryrefslogtreecommitdiff
path: root/mail/contact-lookup-applet/files
diff options
context:
space:
mode:
Diffstat (limited to 'mail/contact-lookup-applet/files')
-rw-r--r--mail/contact-lookup-applet/files/patch-src_contact-dialog.c11
-rw-r--r--mail/contact-lookup-applet/files/patch-src_e-contact-entry.c13
2 files changed, 24 insertions, 0 deletions
diff --git a/mail/contact-lookup-applet/files/patch-src_contact-dialog.c b/mail/contact-lookup-applet/files/patch-src_contact-dialog.c
new file mode 100644
index 000000000000..52ab8653e75d
--- /dev/null
+++ b/mail/contact-lookup-applet/files/patch-src_contact-dialog.c
@@ -0,0 +1,11 @@
+--- src/contact-dialog.c.orig Sat Sep 30 19:56:51 2006
++++ src/contact-dialog.c Sat Sep 30 19:57:14 2006
+@@ -260,7 +260,7 @@
+
+ loader = gdk_pixbuf_loader_new ();
+
+- if (!gdk_pixbuf_loader_write (loader, photo->data, photo->length, NULL)) {
++ if (!gdk_pixbuf_loader_write (loader, photo->data.inlined.data, photo->data.inlined.length, NULL)) {
+ gtk_widget_hide (photo_frame);
+ } else if( (pixbuf = gdk_pixbuf_loader_get_pixbuf (loader)) != NULL ) {
+ GdkPixbuf *tmp;
diff --git a/mail/contact-lookup-applet/files/patch-src_e-contact-entry.c b/mail/contact-lookup-applet/files/patch-src_e-contact-entry.c
new file mode 100644
index 000000000000..2ce6c8e62ca4
--- /dev/null
+++ b/mail/contact-lookup-applet/files/patch-src_e-contact-entry.c
@@ -0,0 +1,13 @@
+--- src/e-contact-entry.c.orig Sat Sep 30 19:54:33 2006
++++ src/e-contact-entry.c Sat Sep 30 19:56:09 2006
+@@ -261,8 +261,8 @@
+
+ loader = gdk_pixbuf_loader_new ();
+
+- if (gdk_pixbuf_loader_write (loader, (guchar *)photo->data,
+- photo->length, NULL))
++ if (gdk_pixbuf_loader_write (loader, (guchar *)photo->data.inlined.data,
++ photo->data.inlined.length, NULL))
+ pixbuf = gdk_pixbuf_loader_get_pixbuf (loader);
+
+ if (pixbuf) {