Created
December 20, 2015 16:45
-
-
Save zmike/2f467cca61aad91c4971 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/bin/test_image.c b/src/bin/test_image.c | |
| index f8f3d85..19cf0ec 100644 | |
| --- a/src/bin/test_image.c | |
| +++ b/src/bin/test_image.c | |
| @@ -174,6 +174,7 @@ test_click_image(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *ev | |
| char buf[PATH_MAX]; | |
| snprintf(buf, sizeof(buf), "%s/images/logo.png", elm_app_data_dir_get()); | |
| elm_image_file_set(im, buf, NULL); | |
| + elm_image_file_set(im, NULL, NULL); | |
| evas_object_size_hint_weight_set(im, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); | |
| evas_object_size_hint_align_set(im, EVAS_HINT_FILL, EVAS_HINT_FILL); | |
| evas_object_smart_callback_add(im, "clicked", _img_clicked_cb, im); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment