summaryrefslogtreecommitdiff
path: root/src/bin/controls.c
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-03-25 16:12:05 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-03-25 16:12:05 +0900
commitf477acf0cf02e8b2ee269418e64de30d0df7ceee (patch)
tree5799f2e25eb2c604089439d3ee2503ca03c875d5 /src/bin/controls.c
parent1391f69b756b40e5a96725954024b5f997992653 (diff)
warn--
Diffstat (limited to 'src/bin/controls.c')
-rw-r--r--src/bin/controls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/controls.c b/src/bin/controls.c
index 0e4ff86..2e12390 100644
--- a/src/bin/controls.c
+++ b/src/bin/controls.c
@@ -124,7 +124,7 @@ _cb_saved_del(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj __UNUS
124static Evas_Object * 124static Evas_Object *
125_button_add(Evas_Object *win, const char *label, const char *icon, Evas_Smart_Cb cb, void *cbdata) 125_button_add(Evas_Object *win, const char *label, const char *icon, Evas_Smart_Cb cb, void *cbdata)
126{ 126{
127 Evas_Object *o, *bt, *ic; 127 Evas_Object *o, *bt;
128 128
129 bt = o = elm_button_add(win); 129 bt = o = elm_button_add(win);
130 evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, 0.0); 130 evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, 0.0);
@@ -134,7 +134,7 @@ _button_add(Evas_Object *win, const char *label, const char *icon, Evas_Smart_Cb
134 134
135 if (icon) 135 if (icon)
136 { 136 {
137 ic = o = elm_icon_add(win); 137 o = elm_icon_add(win);
138 evas_object_size_hint_aspect_set(o, EVAS_ASPECT_CONTROL_VERTICAL, 1, 1); 138 evas_object_size_hint_aspect_set(o, EVAS_ASPECT_CONTROL_VERTICAL, 1, 1);
139 elm_icon_standard_set(o, icon); 139 elm_icon_standard_set(o, icon);
140 elm_object_part_content_set(bt, "icon", o); 140 elm_object_part_content_set(bt, "icon", o);