Fix warnings.

SVN revision: 33717
This commit is contained in:
Gustavo Sverzut Barbieri 2008-02-08 23:03:28 +00:00
parent f1ba6e8204
commit 746ea5f85a
2 changed files with 4 additions and 2 deletions

View File

@ -225,7 +225,7 @@ e_icon_scale_size_set(Evas_Object *obj, int size)
E_Smart_Data *sd;
sd = evas_object_smart_data_get(obj);
if (!sd) return NULL;
if (!sd) return;
sd->size = size;
if (!strcmp(evas_object_type_get(sd->obj), "edje"))
return;
@ -238,7 +238,7 @@ e_icon_scale_size_get(Evas_Object *obj)
E_Smart_Data *sd;
sd = evas_object_smart_data_get(obj);
if (!sd) return NULL;
if (!sd) return 0;
return sd->size;
}

View File

@ -1,7 +1,9 @@
/*
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
*/
#define _XOPEN_SOURCE 600
#include "e.h"
#include <math.h>
#define SMART_NAME "e_slider"
#define API_ENTRY E_Smart_Data *sd; sd = evas_object_smart_data_get(obj); if ((!obj) || (!sd) || (evas_object_type_get(obj) && strcmp(evas_object_type_get(obj), SMART_NAME)))