[gimp] modules: don't use CamelCase variable names in display-filter-proof.c



commit a277a5b66fc27f761e0a8edb3a6792b4f1ed4dd4
Author: Michael Natterer <mitch gimp org>
Date:   Sat Mar 15 21:44:52 2014 +0100

    modules: don't use CamelCase variable names in display-filter-proof.c

 modules/display-filter-proof.c |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/modules/display-filter-proof.c b/modules/display-filter-proof.c
index ceacc84..7a41f49 100644
--- a/modules/display-filter-proof.c
+++ b/modules/display-filter-proof.c
@@ -372,8 +372,8 @@ static void
 cdisplay_proof_changed (GimpColorDisplay *display)
 {
   CdisplayProof *proof = CDISPLAY_PROOF (display);
-  cmsHPROFILE    rgbProfile;
-  cmsHPROFILE    proofProfile;
+  cmsHPROFILE    rgb_profile;
+  cmsHPROFILE    proof_profile;
 
   if (proof->transform)
     {
@@ -384,26 +384,26 @@ cdisplay_proof_changed (GimpColorDisplay *display)
   if (! proof->profile)
     return;
 
-  rgbProfile = gimp_lcms_create_srgb_profile ();
+  rgb_profile = gimp_lcms_create_srgb_profile ();
 
-  proofProfile = cmsOpenProfileFromFile (proof->profile, "r");
+  proof_profile = cmsOpenProfileFromFile (proof->profile, "r");
 
-  if (proofProfile)
+  if (proof_profile)
     {
       cmsUInt32Number flags = cmsFLAGS_SOFTPROOFING;
 
       if (proof->bpc)
         flags |= cmsFLAGS_BLACKPOINTCOMPENSATION;
 
-      proof->transform = cmsCreateProofingTransform (rgbProfile, TYPE_RGBA_FLT,
-                                                     rgbProfile, TYPE_RGBA_FLT,
-                                                     proofProfile,
+      proof->transform = cmsCreateProofingTransform (rgb_profile, TYPE_RGBA_FLT,
+                                                     rgb_profile, TYPE_RGBA_FLT,
+                                                     proof_profile,
                                                      proof->intent,
                                                      proof->intent,
                                                      flags);
 
-      cmsCloseProfile (proofProfile);
+      cmsCloseProfile (proof_profile);
     }
 
-  cmsCloseProfile (rgbProfile);
+  cmsCloseProfile (rgb_profile);
 }


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