diff options
author | Shuhrat Dehkanov <sh.dehkanov@samsung.com> | 2016-10-14 19:37:46 +0900 |
---|---|---|
committer | Jean-Philippe Andre <jp.andre@samsung.com> | 2016-10-17 10:49:10 +0900 |
commit | 33750f8facbe0b2f0aebd42e7b9200924b5e26d8 (patch) | |
tree | 4d6a53500f1c00f9a92f06d43176e3c5e5f822de | |
parent | b8ae4947b6577cc8b5ad173615fac809b13d0800 (diff) | |
download | efl-33750f8facbe0b2f0aebd42e7b9200924b5e26d8.tar.gz |
ELM: sync "clicked" usage with other places in the lib
Summary: In all other places "clicked" is defined as a local variable.
Reviewers: tasn, jpeg
Reviewed By: jpeg
Subscribers: cedric, minkyu
Differential Revision: https://phab.enlightenment.org/D4349
-rw-r--r-- | src/lib/elementary/elc_combobox.c | 3 | ||||
-rw-r--r-- | src/lib/elementary/elc_hoversel.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/elementary/elc_combobox.c b/src/lib/elementary/elc_combobox.c index 6026ce9e35..b62a35ed2e 100644 --- a/src/lib/elementary/elc_combobox.c +++ b/src/lib/elementary/elc_combobox.c @@ -19,6 +19,7 @@ static const char SIG_EXPANDED[] = "expanded"; static const char SIG_ITEM_SELECTED[] = "item,selected"; static const char SIG_ITEM_PRESSED[] = "item,pressed"; static const char SIG_FILTER_DONE[] = "filter,done"; +static const char SIG_CLICKED[] = "clicked"; static const Evas_Smart_Cb_Description _smart_callbacks[] = { {SIG_DISMISSED, ""}, @@ -26,7 +27,7 @@ static const Evas_Smart_Cb_Description _smart_callbacks[] = { {SIG_ITEM_SELECTED, ""}, {SIG_ITEM_PRESSED, ""}, {SIG_FILTER_DONE, ""}, - {"clicked", ""}, /**< handled by parent button class */ + {SIG_CLICKED, ""}, /**< handled by parent button class */ {SIG_WIDGET_LANG_CHANGED, ""}, /**< handled by elm_widget */ {SIG_WIDGET_ACCESS_CHANGED, ""}, /**< handled by elm_widget */ {NULL, NULL} diff --git a/src/lib/elementary/elc_hoversel.c b/src/lib/elementary/elc_hoversel.c index 6c5130c237..c0ff373dc3 100644 --- a/src/lib/elementary/elc_hoversel.c +++ b/src/lib/elementary/elc_hoversel.c @@ -21,6 +21,7 @@ static const char SIG_DISMISSED[] = "dismissed"; static const char SIG_EXPANDED[] = "expanded"; static const char SIG_ITEM_FOCUSED[] = "item,focused"; static const char SIG_ITEM_UNFOCUSED[] = "item,unfocused"; +static const char SIG_CLICKED[] = "clicked"; static const Evas_Smart_Cb_Description _smart_callbacks[] = { {SIG_SELECTED, ""}, @@ -28,7 +29,7 @@ static const Evas_Smart_Cb_Description _smart_callbacks[] = { {SIG_EXPANDED, ""}, {SIG_ITEM_FOCUSED, ""}, {SIG_ITEM_UNFOCUSED, ""}, - {"clicked", ""}, /**< handled by parent button class */ + {SIG_CLICKED, ""}, /**< handled by parent button class */ {SIG_WIDGET_LANG_CHANGED, ""}, /**< handled by elm_widget */ {SIG_WIDGET_ACCESS_CHANGED, ""}, /**< handled by elm_widget */ {NULL, NULL} |