From 33750f8facbe0b2f0aebd42e7b9200924b5e26d8 Mon Sep 17 00:00:00 2001 From: Shuhrat Dehkanov Date: Fri, 14 Oct 2016 19:37:46 +0900 Subject: [PATCH] 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 --- src/lib/elementary/elc_combobox.c | 3 ++- 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 6026ce9..b62a35e 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 6c5130c2..c0ff373 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} -- 2.7.4