Adding more size hints to external object's icons.
authorGustavo Lima Chaves <glima@profusion.mobi>
Mon, 25 Jan 2010 14:24:15 +0000 (14:24 +0000)
committerGustavo Lima Chaves <glima@profusion.mobi>
Mon, 25 Jan 2010 14:24:15 +0000 (14:24 +0000)
Patch by Fabiano FidĂȘncio.

SVN revision: 45553

src/edje_externals/private.h

index 37622ca33fd465717dd1d8406ab24119667a3c2d..c56f4be54d1bbdaf45c1e85f8b69f8c332156367 100644 (file)
@@ -78,6 +78,7 @@ external_##type_name##_icon_add(void *data, Evas *e) {              \
    ic = edje_object_add(e);                                         \
    edje_object_file_set(ic, PACKAGE_DATA_DIR"/edje_externals/icons.edj", "ico_"name);\
    evas_object_size_hint_min_set(ic, w, h);                         \
+   evas_object_size_hint_max_set(ic, w, h);                         \
                                                                     \
    return ic;                                                       \
 }