]> git.0d.be Git - empathy.git/commitdiff
ui-utils: remove useless self assignations
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Thu, 3 Oct 2013 09:10:46 +0000 (11:10 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Thu, 3 Oct 2013 09:10:46 +0000 (11:10 +0200)
libempathy-gtk/empathy-ui-utils.c

index 5e01d9fcc97f7a9bd0d7a42677d541055662bcd1..fb080cecd70f5fc7b929cf598084b34f3efef980 100644 (file)
@@ -173,12 +173,6 @@ pixbuf_from_avatar_size_prepared_cb (GdkPixbufLoader *loader,
 
   if (data->preserve_aspect_ratio && (data->width > 0 || data->height > 0))
     {
-      if (width < data->width && height < data->height)
-        {
-          width = width;
-          height = height;
-        }
-
       if (data->width < 0)
         {
           width = width * (double) data->height / (gdouble) height;