[gnome-control-center] Drop duplicate code



commit 85b0c9c92c7547a438a8b20b1477fa092315c340
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Oct 19 18:57:18 2011 -0400

    Drop duplicate code
    
    Static analyzers complain about this kind of thing.

 panels/color/cc-color-panel.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/panels/color/cc-color-panel.c b/panels/color/cc-color-panel.c
index 7ea4342..d4d0a36 100644
--- a/panels/color/cc-color-panel.c
+++ b/panels/color/cc-color-panel.c
@@ -1307,8 +1307,6 @@ gcm_prefs_device_kind_to_icon_name (CdDeviceKind kind)
     return "printer";
   if (kind == CD_DEVICE_KIND_CAMERA)
     return "camera-photo";
-  if (kind == CD_DEVICE_KIND_CAMERA)
-    return "camera-photo";
   if (kind == CD_DEVICE_KIND_WEBCAM)
     return "camera-web";
   return "image-missing";



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