[gnome-contacts] Avatar: remove redundant if-check.



commit 81ef5940370b23150163f11f6c25c89a15e20e11
Author: Niels De Graef <nielsdegraef gmail com>
Date:   Sat Jan 20 16:08:12 2018 +0100

    Avatar: remove redundant if-check.

 src/contacts-avatar.vala |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/contacts-avatar.vala b/src/contacts-avatar.vala
index 7b7d8f8..2b6b623 100644
--- a/src/contacts-avatar.vala
+++ b/src/contacts-avatar.vala
@@ -61,9 +61,6 @@ public class Contacts.Avatar : DrawingArea {
       }
     }
 
-    if (a_pixbuf == null) {
-      a_pixbuf = null;
-    }
     set_pixbuf (a_pixbuf);
   }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]