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 5e01d9f..fb080ce 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;