diff options
author | Scott Balneaves <[email protected]> | 2012-12-13 20:01:54 -0600 |
---|---|---|
committer | Scott Balneaves <[email protected]> | 2012-12-13 20:01:54 -0600 |
commit | 0eb2befbdb3b986cfe2a6ac3429951f463a10a7c (patch) | |
tree | 7b10751550bf6cbe176471417700d2826415e8a7 /capplets/about-me/mate-about-me.c | |
parent | 9c36e768c1636dd1e1d68dc7029a6f5918bb55d2 (diff) | |
download | mate-control-center-0eb2befbdb3b986cfe2a6ac3429951f463a10a7c.tar.bz2 mate-control-center-0eb2befbdb3b986cfe2a6ac3429951f463a10a7c.tar.xz |
Make the image size correspond to the scaling
Diffstat (limited to 'capplets/about-me/mate-about-me.c')
-rw-r--r-- | capplets/about-me/mate-about-me.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/capplets/about-me/mate-about-me.c b/capplets/about-me/mate-about-me.c index 6362d2f1..b48cbdee 100644 --- a/capplets/about-me/mate-about-me.c +++ b/capplets/about-me/mate-about-me.c @@ -38,8 +38,8 @@ #include "capplet-util.h" -#define MAX_HEIGHT 150 -#define MAX_WIDTH 150 +#define MAX_HEIGHT 100 +#define MAX_WIDTH 100 #define EMAIL_SLOTS 4 @@ -175,7 +175,6 @@ about_me_update_photo (MateAboutMe *me) "compression", "9", NULL); g_free (data); - g_free (scaled); data = (guchar *) scaled_data; length = scaled_length; } @@ -192,7 +191,6 @@ about_me_update_photo (MateAboutMe *me) } g_free (file); - g_free (data); g_object_unref (pixbuf); } else if (me->image_changed && !me->have_image) { |