diff options
author | Lukasz Stanislawski <l.stanislaws@samsung.com> | 2016-01-30 11:25:34 +0100 |
---|---|---|
committer | Michal Pawluk <m.pawluk@samsung.com> | 2016-01-31 09:44:48 -0800 |
commit | 2763e2f61431cca16c781d6715564199159b09d2 (patch) | |
tree | fc53b8d0ec987925b6899317c667dafcadfdcf92 /src/ticker.c | |
parent | ef28ec0e83d417b88a9fda1c1e5fc2afab092e9d (diff) | |
download | indicator-win-2763e2f61431cca16c781d6715564199159b09d2.tar.gz indicator-win-2763e2f61431cca16c781d6715564199159b09d2.tar.bz2 indicator-win-2763e2f61431cca16c781d6715564199159b09d2.zip |
remove VENDOR define.
VENDOR was always equal to "org.tizen" in previous build config.
Introduce two separate defines for emial and message apps.
Change-Id: I17f5644f8f25f0dde4cdb5772e632e0165d7c6a8
Signed-off-by: Lukasz Stanislawski <l.stanislaws@samsung.com>
Diffstat (limited to 'src/ticker.c')
-rw-r--r-- | src/ticker.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ticker.c b/src/ticker.c index 0fc89c0..0ce9bad 100644 --- a/src/ticker.c +++ b/src/ticker.c @@ -98,7 +98,7 @@ static int _check_is_noti_from_email(char *pkgname) { retv_if(!pkgname, 0); - if (strcmp(pkgname, VENDOR".email") == 0 || strcmp(pkgname, "/usr/bin/eas-engine") == 0) { + if (strcmp(pkgname, TIZEN_EMAIL_PACKAGE) == 0 || strcmp(pkgname, "/usr/bin/eas-engine") == 0) { return 1; } else { return 0; @@ -109,7 +109,7 @@ static int _check_is_noti_from_message(char *pkgname) { retv_if(!pkgname, 0); - if (strcmp(pkgname, VENDOR".message") == 0 || strcmp(pkgname, "/usr/bin/msg-server") == 0) { + if (strcmp(pkgname, TIZEN_MESSAGE_PACKAGE) == 0 || strcmp(pkgname, "/usr/bin/msg-server") == 0) { return 1; } else { return 0; |