1 diff -aurN control-center-2.15.90.orig/capplets/about-me/gnome-about-me.c control-center-2.15.90/capplets/about-me/gnome-about-me.c
2 --- control-center-2.15.90.orig/capplets/about-me/gnome-about-me.c 2006-01-21 17:59:38.000000000 +0100
3 +++ control-center-2.15.90/capplets/about-me/gnome-about-me.c 2006-07-26 23:27:28.000000000 +0200
8 - e_image_chooser_set_image_data (E_IMAGE_CHOOSER (widget), photo->data, photo->length);
9 + e_image_chooser_set_image_data (E_IMAGE_CHOOSER (widget), photo->data.inlined.data, photo->data.inlined.length);
10 e_contact_photo_free (photo);
12 me->have_image = FALSE;
16 photo = g_new0 (EContactPhoto, 1);
18 - photo->length = length;
19 + photo->data.inlined.data = data;
20 + photo->data.inlined.length = length;
21 e_contact_set (me->contact, E_CONTACT_PHOTO, photo);
23 /* Save the image for GDM */
24 /* FIXME: I would have to read the default used by the gdmgreeter program */
25 file = g_strdup_printf ("%s/.face", g_get_home_dir ());
26 fp = fopen (file, "wb");
27 - fwrite (photo->data, 1, photo->length, fp);
28 + fwrite (photo->data.inlined.data, 1, photo->data.inlined.length, fp);