Enlightenment CVS committal

Author  : sebastid
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_icon.c 


Log Message:
Fix warnings.

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_icon.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- e_icon.c    4 Nov 2005 03:33:23 -0000       1.7
+++ e_icon.c    4 Nov 2005 20:36:05 -0000       1.8
@@ -65,8 +65,7 @@
    
    sd = evas_object_smart_data_get(obj);
    /* smart code here */
-   if(sd->obj)
-     evas_object_del(sd->obj);
+   if (sd->obj) evas_object_del(sd->obj);
    sd->obj = edje_object_add(evas_object_evas_get(obj));
    edje_object_file_set(sd->obj, file, part);
    _e_icon_smart_reconfigure(sd);
@@ -79,7 +78,7 @@
    char *file;
    
    sd = evas_object_smart_data_get(obj);
-   if(!strcmp(evas_object_type_get(sd->obj), "edje"))
+   if (!strcmp(evas_object_type_get(sd->obj), "edje"))
      {
        edje_object_file_get(sd->obj, &file, NULL);
        return file;
@@ -94,7 +93,7 @@
    E_Smart_Data *sd;
    
    sd = evas_object_smart_data_get(obj);
-   if(!strcmp(evas_object_type_get(sd->obj), "edje"))
+   if (!strcmp(evas_object_type_get(sd->obj), "edje"))
      return;
    evas_object_image_smooth_scale_set(sd->obj, smooth);
 }
@@ -103,10 +102,10 @@
 e_icon_smooth_scale_get(Evas_Object *obj)
 {
    E_Smart_Data *sd;
-   
+
    sd = evas_object_smart_data_get(obj);   
-   if(!strcmp(evas_object_type_get(sd->obj), "edje"))
-     return;   
+   if (!strcmp(evas_object_type_get(sd->obj), "edje"))
+     return 0;   
    return evas_object_image_smooth_scale_get(sd->obj);
 }
 
@@ -116,7 +115,7 @@
    E_Smart_Data *sd;
    
    sd = evas_object_smart_data_get(obj);
-   if(!strcmp(evas_object_type_get(sd->obj), "edje"))
+   if (!strcmp(evas_object_type_get(sd->obj), "edje"))
      return;   
    evas_object_image_alpha_set(sd->obj, alpha);
 }
@@ -127,8 +126,8 @@
    E_Smart_Data *sd;
    
    sd = evas_object_smart_data_get(obj);
-   if(!strcmp(evas_object_type_get(sd->obj), "edje"))
-     return;   
+   if (!strcmp(evas_object_type_get(sd->obj), "edje"))
+     return 0;   
    return evas_object_image_alpha_get(sd->obj);
 }
 
@@ -169,7 +168,7 @@
    E_Smart_Data *sd;
    
    sd = evas_object_smart_data_get(obj);
-   if(!strcmp(evas_object_type_get(sd->obj), "edje"))
+   if (!strcmp(evas_object_type_get(sd->obj), "edje"))
      return;   
    evas_object_image_size_set(sd->obj, w, h);
    evas_object_image_data_copy_set(sd->obj, data);
@@ -181,8 +180,8 @@
    E_Smart_Data *sd;
    
    sd = evas_object_smart_data_get(obj);
-   if(!strcmp(evas_object_type_get(sd->obj), "edje"))
-     return;   
+   if (!strcmp(evas_object_type_get(sd->obj), "edje"))
+     return NULL;   
    evas_object_image_size_get(sd->obj, w, h);
    return evas_object_image_data_get(sd->obj, 0);
 }
@@ -196,7 +195,7 @@
    
    ih = 0;
    ih = 0;
-   if(!strcmp(evas_object_type_get(sd->obj), "edje"))
+   if (!strcmp(evas_object_type_get(sd->obj), "edje"))
      edje_object_size_min_calc(sd->obj, &iw, &ih);
    else
      evas_object_image_size_get(sd->obj, &iw, &ih);




-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to