[gnome-settings-daemon] color: Fix compilation with latest gnome-desktop



commit a07b5568ceacc871af731de9dd0444f8a85e10d9
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Sep 20 16:17:46 2011 +0100

    color: Fix compilation with latest gnome-desktop
    
    That code was only valid on my machine, using a patch in
    Bugzilla. Thanks to Richard Hughes for spotting the error.

 plugins/color/gcm-edid.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/color/gcm-edid.c b/plugins/color/gcm-edid.c
index c2d79a3..bb3194d 100644
--- a/plugins/color/gcm-edid.c
+++ b/plugins/color/gcm-edid.c
@@ -92,7 +92,7 @@ gcm_edid_get_vendor_name (GcmEdid *edid)
         g_return_val_if_fail (GCM_IS_EDID (edid), NULL);
 
         if (priv->vendor_name == NULL)
-                priv->vendor_name = gnome_pnp_ids_get_pnp_id (priv->pnp_ids, priv->pnp_id, NULL);
+                priv->vendor_name = gnome_pnp_ids_get_pnp_id (priv->pnp_ids, priv->pnp_id);
         return priv->vendor_name;
 }
 



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