[empathy] ui-utils: remove useless self assignations
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] ui-utils: remove useless self assignations
- Date: Thu, 3 Oct 2013 14:11:17 +0000 (UTC)
commit ee16f6d2271dfbd4c304a167c10161160f88ec9f
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Thu Oct 3 11:10:46 2013 +0200
ui-utils: remove useless self assignations
libempathy-gtk/empathy-ui-utils.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/libempathy-gtk/empathy-ui-utils.c b/libempathy-gtk/empathy-ui-utils.c
index 5e01d9f..fb080ce 100644
--- a/libempathy-gtk/empathy-ui-utils.c
+++ b/libempathy-gtk/empathy-ui-utils.c
@@ -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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]