projects
/
framework
/
uifw
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0740c5
)
bitch--
author
raster
<raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 12 Jun 2012 16:31:02 +0000
(16:31 +0000)
committer
Jaehwan Kim
<jae.hwan.kim@samsung.com>
Fri, 29 Jun 2012 06:17:00 +0000
(15:17 +0900)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@72044
7cbeb6ba
-43b4-40fd-8cce-
4c39aea84d33
src/lib/elm_toolbar.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_toolbar.c
b/src/lib/elm_toolbar.c
index
3643c49
..
66456f9
100644
(file)
--- a/
src/lib/elm_toolbar.c
+++ b/
src/lib/elm_toolbar.c
@@
-171,13
+171,13
@@
_item_select(Elm_Toolbar_Item *it)
Widget_Data *wd = elm_widget_data_get(WIDGET(it));
Evas_Object *obj2;
Eina_Bool sel;
- Evas_Coord w
, h
;
+ Evas_Coord w
= 0, h = 0
;
if (!wd) return;
if (elm_widget_item_disabled_get(it) || (it->separator) || (it->object)) return;
sel = it->selected;
- evas_object_geometry_get(it->object, NULL, NULL, &w, &h);
+
if (it->object)
evas_object_geometry_get(it->object, NULL, NULL, &w, &h);
if (wd->select_mode != ELM_OBJECT_SELECT_MODE_NONE)
{