From: freetz Date: Wed, 26 Jul 2006 21:36:30 +0000 (+0000) Subject: - http://bugzilla.gnome.org/show_bug.cgi?id=348821 X-Git-Tag: auto/th/control-center-2_15_90-1~1 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fcontrol-center.git;a=commitdiff_plain;h=a35b79fc93e85ff1847ae77be4dbb39202c2850b - http://bugzilla.gnome.org/show_bug.cgi?id=348821 Changed files: control-center-bug348821.patch -> 1.1 --- diff --git a/control-center-bug348821.patch b/control-center-bug348821.patch new file mode 100644 index 0000000..4211a8b --- /dev/null +++ b/control-center-bug348821.patch @@ -0,0 +1,31 @@ +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 +--- control-center-2.15.90.orig/capplets/about-me/gnome-about-me.c 2006-01-21 17:59:38.000000000 +0100 ++++ control-center-2.15.90/capplets/about-me/gnome-about-me.c 2006-07-26 23:27:28.000000000 +0200 +@@ -419,7 +419,7 @@ + + if (photo) { + me->have_image = TRUE; +- e_image_chooser_set_image_data (E_IMAGE_CHOOSER (widget), photo->data, photo->length); ++ e_image_chooser_set_image_data (E_IMAGE_CHOOSER (widget), photo->data.inlined.data, photo->data.inlined.length); + e_contact_photo_free (photo); + } else { + me->have_image = FALSE; +@@ -490,15 +490,15 @@ + } + + photo = g_new0 (EContactPhoto, 1); +- photo->data = data; +- photo->length = length; ++ photo->data.inlined.data = data; ++ photo->data.inlined.length = length; + e_contact_set (me->contact, E_CONTACT_PHOTO, photo); + + /* Save the image for GDM */ + /* FIXME: I would have to read the default used by the gdmgreeter program */ + file = g_strdup_printf ("%s/.face", g_get_home_dir ()); + fp = fopen (file, "wb"); +- fwrite (photo->data, 1, photo->length, fp); ++ fwrite (photo->data.inlined.data, 1, photo->data.inlined.length, fp); + fclose (fp); + + g_free (file);