Update of /cvsroot/ufraw/ufraw
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv11361

Modified Files:
        ufraw_lens_ui.c 
Log Message:
Remove workarounds for lensfun 0.2.3.

Index: ufraw_lens_ui.c
===================================================================
RCS file: /cvsroot/ufraw/ufraw/ufraw_lens_ui.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- ufraw_lens_ui.c     5 Feb 2010 23:22:15 -0000       1.25
+++ ufraw_lens_ui.c     8 Feb 2010 04:30:11 -0000       1.26
@@ -726,7 +726,7 @@
     uf_widget_set_tooltip(data->LensTCAModel,
                           _("Chromatic Aberrations mathematical model"));
     active_index = 0;
-    for (i = 0; i <= LF_TCA_MODEL_LINEAR; i++)
+    for (i = 0; ; i++)
     {
         const char *model_name;
         lfTCAModel model = LF_TCA_MODEL_NONE + i;
@@ -839,7 +839,7 @@
     uf_widget_set_tooltip(data->LensVignettingModel,
                           _("Optical vignetting mathematical model"));
     active_index = 0;
-    for (i = 0; i <= LF_VIGNETTING_MODEL_PA; i++)
+    for (i = 0; ; i++)
     {
         const char *model_name;
         lfVignettingModel model = LF_VIGNETTING_MODEL_NONE + i;
@@ -954,7 +954,7 @@
     uf_widget_set_tooltip (data->LensDistortionModel,
                            _("Lens distortion mathematical model"));
     active_index = 0;
-    for (i = 0; i <= LF_DIST_MODEL_PTLENS; i++)
+    for (i = 0; ; i++)
     {
         const char *model_name;
         lfDistortionModel model = LF_DIST_MODEL_NONE + i;
@@ -1059,7 +1059,7 @@
     gtk_table_attach (GTK_TABLE (data->LensGeometryTable), 
data->LensToGeometryDesc,
                       0, 2, 3, 4, GTK_EXPAND | GTK_FILL, 0, 0, 10);
 
-    for (i = 0; i <= LF_EQUIRECTANGULAR; i++)
+    for (i = 0; ; i++)
     {
         lfLensType type = LF_UNKNOWN + i;
         const char *type_name = lf_get_lens_type_desc (type, NULL);


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
ufraw-cvs mailing list
ufraw-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ufraw-cvs

Reply via email to