summaryrefslogtreecommitdiff
path: root/src/lib/eldbus/eldbus_service.c
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-05-07 17:32:49 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2014-05-07 17:45:11 +0200
commitf8c2c574062339bfda4988a450e3f809451941e1 (patch)
treea89b637a3ce479d11c492b63ea8033d7fb83519f /src/lib/eldbus/eldbus_service.c
parent5a1c7f6d9ba36c2fc15f8b845e2cba76ae34727e (diff)
do not use EINA_FALSE instead of NULL
Diffstat (limited to 'src/lib/eldbus/eldbus_service.c')
-rw-r--r--src/lib/eldbus/eldbus_service.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/eldbus/eldbus_service.c b/src/lib/eldbus/eldbus_service.c
index 3149a58a2f..4b7295ca8d 100644
--- a/src/lib/eldbus/eldbus_service.c
+++ b/src/lib/eldbus/eldbus_service.c
@@ -936,10 +936,10 @@ _eldbus_service_interface_register(Eldbus_Connection *conn, const char *path, co
936 const Eldbus_Property *property; 936 const Eldbus_Property *property;
937 Eina_Array *signatures; 937 Eina_Array *signatures;
938 938
939 EINA_SAFETY_ON_NULL_RETURN_VAL(conn, EINA_FALSE); 939 EINA_SAFETY_ON_NULL_RETURN_VAL(conn, NULL);
940 EINA_SAFETY_ON_NULL_RETURN_VAL(path, EINA_FALSE); 940 EINA_SAFETY_ON_NULL_RETURN_VAL(path, NULL);
941 EINA_SAFETY_ON_NULL_RETURN_VAL(desc, EINA_FALSE); 941 EINA_SAFETY_ON_NULL_RETURN_VAL(desc, NULL);
942 EINA_SAFETY_ON_NULL_RETURN_VAL(desc->interface, EINA_FALSE); 942 EINA_SAFETY_ON_NULL_RETURN_VAL(desc->interface, NULL);
943 943
944 if (!dbus_connection_get_object_path_data(conn->dbus_conn, path, 944 if (!dbus_connection_get_object_path_data(conn->dbus_conn, path,
945 (void*)&obj)) 945 (void*)&obj))
@@ -1380,9 +1380,9 @@ EAPI Eldbus_Message *
1380eldbus_service_signal_new(const Eldbus_Service_Interface *iface, unsigned int signal_id) 1380eldbus_service_signal_new(const Eldbus_Service_Interface *iface, unsigned int signal_id)
1381{ 1381{
1382 unsigned size; 1382 unsigned size;
1383 ELDBUS_SERVICE_INTERFACE_CHECK_RETVAL(iface, EINA_FALSE); 1383 ELDBUS_SERVICE_INTERFACE_CHECK_RETVAL(iface, NULL);
1384 size = eina_array_count(iface->sign_of_signals); 1384 size = eina_array_count(iface->sign_of_signals);
1385 EINA_SAFETY_ON_FALSE_RETURN_VAL(signal_id < size, EINA_FALSE); 1385 EINA_SAFETY_ON_FALSE_RETURN_VAL(signal_id < size, NULL);
1386 1386
1387 return eldbus_message_signal_new(iface->obj->path, iface->name, 1387 return eldbus_message_signal_new(iface->obj->path, iface->name,
1388 iface->signals[signal_id].name); 1388 iface->signals[signal_id].name);