summaryrefslogtreecommitdiff
path: root/src/notification_ipc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/notification_ipc.c')
-rwxr-xr-xsrc/notification_ipc.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/notification_ipc.c b/src/notification_ipc.c
index 25f4b3d..6c5fb5b 100755
--- a/src/notification_ipc.c
+++ b/src/notification_ipc.c
@@ -1499,9 +1499,6 @@ int notification_ipc_request_create_from_template(notification_h noti, const cha
GVariant *reply_body;
GVariant *noti_body;
- if (!template_name)
- return NOTIFICATION_ERROR_INVALID_PARAMETER;
-
result = _dbus_init();
if (result != NOTIFICATION_ERROR_NONE) {
NOTIFICATION_ERR("Can't init dbus %d", result);
@@ -1537,9 +1534,6 @@ int notification_ipc_request_create_from_package_template(notification_h noti, c
GVariant *reply_body;
GVariant *noti_body;
- if (pkgname == NULL || template_name == NULL)
- return NOTIFICATION_ERROR_INVALID_PARAMETER;
-
result = _dbus_init();
if (result != NOTIFICATION_ERROR_NONE) {
NOTIFICATION_ERR("Can't init dbus %d", result);