Hi,

I found that if Callback function was missed, e_dbus_message_send crashed.
It need some routine for that.

@@ -64,7 +64,9 @@ e_dbus_message_send(E_DBus_Connection *conn, DBusM
 {
   DBusPendingCall *pending;

+  EINA_SAFETY_ON_NULL_RETURN_VAL(cb_return, NULL);
   EINA_SAFETY_ON_NULL_RETURN_VAL(conn, NULL);
+
   if (!dbus_connection_send_with_reply(conn->conn, msg, &pending, timeout))
     return NULL;

I cannot determine do I need to add error message or not :(
Please advise me.



Thanks.
Sincerely,
Sungho Kwak

Attachment: e_dbus_message.diff
Description: Binary data

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to