summaryrefslogtreecommitdiff
path: root/src/bin/e_thumb.c
diff options
context:
space:
mode:
authorcodewarrior <codewarrior>2005-12-19 14:42:43 +0000
committercodewarrior <codewarrior@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>2005-12-19 14:42:43 +0000
commit6121b9413792ce891ceb2dcecbe0bce3661cf5e5 (patch)
tree404a1822729a8f634a38dd5b9f4878feb650bfeb /src/bin/e_thumb.c
parentb6bc092d13e006bb4dfef26dc9168475ea1afdf4 (diff)
downloadenlightenment-6121b9413792ce891ceb2dcecbe0bce3661cf5e5.tar.gz
- misc checks
- add theme selector (basic mode only) from Chady SVN revision: 19148
Diffstat (limited to 'src/bin/e_thumb.c')
-rw-r--r--src/bin/e_thumb.c17
1 files changed, 10 insertions, 7 deletions
diff --git a/src/bin/e_thumb.c b/src/bin/e_thumb.c
index 70d7ed3931..8f10a8c02e 100644
--- a/src/bin/e_thumb.c
+++ b/src/bin/e_thumb.c
@@ -325,7 +325,7 @@ _e_thumb_etheme_create(char *file, Evas_Coord w, Evas_Coord h, int *ww, int *hh,
evas_object_move(clock, (w * 0.9), (h * 0.9));
evas_object_resize(clock, w * 0.1, h * 0.1);
/* start */
- evas_object_move(start, (w * 0.9), (h * 0.9));
+ evas_object_move(start, 0.1, (h * 0.9));
evas_object_resize(start, w * 0.1, h * 0.1);
/* pager */
evas_object_move(pager[0], (w * 0.3), (h * 0.9));
@@ -593,12 +593,15 @@ _e_thumb_cb_exe_exit(void *data, int type, void *event)
t->w,
t->h,
1);
- data = e_icon_data_get(tmp, &w, &h);
- e_icon_data_set(t->obj, data, w, h);
- evas_object_del(tmp);
- if(t->cb)
- t->cb(t->obj, t->data);
- free(t);
+ if (tmp && t)
+ {
+ data = e_icon_data_get(tmp, &w, &h);
+ e_icon_data_set(t->obj, data, w, h);
+ evas_object_del(tmp);
+ if(t->cb)
+ t->cb(t->obj, t->data);
+ free(t);
+ }
}
pid = -1;