diff options
author | Radoslaw Czerski <r.czerski@samsung.com> | 2016-03-15 17:30:47 +0100 |
---|---|---|
committer | Radoslaw Czerski <r.czerski@samsung.com> | 2016-03-15 17:30:47 +0100 |
commit | 21afa34183581b6729a101aab7cffb9a9ece01f4 (patch) | |
tree | dfffbdf69534dbde7241fed5835a83932d418c75 | |
parent | 9e1d98d3d09a4e430651067ae755ca350e71c251 (diff) | |
download | share-panel-21afa34183581b6729a101aab7cffb9a9ece01f4.tar.gz share-panel-21afa34183581b6729a101aab7cffb9a9ece01f4.tar.bz2 share-panel-21afa34183581b6729a101aab7cffb9a9ece01f4.zip |
Not needed defines removed.
Change-Id: I130e1e5b749f7e2027da958af16a03c614b4847c
Signed-off-by: Radoslaw Czerski <r.czerski@samsung.com>
-rw-r--r-- | inc/share_panel_internal.h | 3 | ||||
-rw-r--r-- | src/list.c | 8 |
2 files changed, 4 insertions, 7 deletions
diff --git a/inc/share_panel_internal.h b/inc/share_panel_internal.h index d0fe176..f1bf901 100644 --- a/inc/share_panel_internal.h +++ b/inc/share_panel_internal.h @@ -25,9 +25,6 @@ #define TABBAR_NAME_MORE "More" #define BUF_SIZE 128 #define TIZEN_DATA_PATH "http://tizen.org/appcontrol/data/path" -#define TIZEN_SHARE "http://tizen.org/appcontrol/operation/share" -#define TIZEN_MULTI_SHARE "http://tizen.org/appcontrol/operation/multi_share" -#define TIZEN_SHARE_TEXT "http://tizen.org/appcontrol/operation/share_text" #define DEFAULT_ICON "/usr/share/icons/A01-1_icon_Menu.png" #define KEY_BACK "XF86Back" @@ -137,7 +137,7 @@ static void __intersect_match_list_with_mime(Eina_List **matchlist, const char * bool exist; app_control_create(&control); - app_control_set_operation(control, TIZEN_MULTI_SHARE); + app_control_set_operation(control, APP_CONTROL_OPERATION_MULTI_SHARE); app_control_set_mime(control, mime); app_control_set_uri(control, uri); app_control_foreach_app_matched(control, __app_control_file_matched_cb, &sublist); @@ -356,11 +356,11 @@ Eina_List *_list_create(share_panel_h share_panel) __trim_uri(share_panel->control); - if (!strcmp(operation_type, TIZEN_SHARE) - || !strcmp(operation_type, TIZEN_SHARE_TEXT)) { + if (!strcmp(operation_type, APP_CONTROL_OPERATION_SHARE) + || !strcmp(operation_type, APP_CONTROL_OPERATION_SHARE_TEXT)) { _D("single share operation"); __create_single_share_list(share_panel->control, &matchlist); - } else if (!strcmp(operation_type, TIZEN_MULTI_SHARE)) { + } else if (!strcmp(operation_type, APP_CONTROL_OPERATION_MULTI_SHARE)) { _D("multi share operation"); __create_multi_share_list(share_panel->control, &matchlist); } else { |