really quick patch on connman asking for logins... agent->msg is the
same as msg in the cb. this stops an instant segv but doesnt fully fix it. it's at least marked/commented to be looked at. SVN revision: 77556
This commit is contained in:
parent
13f9c864ff
commit
c17116d357
|
@ -413,6 +413,9 @@ _agent_request_input(E_DBus_Object *obj, DBusMessage *msg)
|
||||||
agent = e_dbus_object_data_get(obj);
|
agent = e_dbus_object_data_get(obj);
|
||||||
|
|
||||||
/* Discard previous requests */
|
/* Discard previous requests */
|
||||||
|
// if msg is the current agent msg? eek.
|
||||||
|
if (agent->msg == msg) return NULL;
|
||||||
|
|
||||||
if (agent->msg)
|
if (agent->msg)
|
||||||
dbus_message_unref(agent->msg);
|
dbus_message_unref(agent->msg);
|
||||||
agent->msg = dbus_message_ref(msg);
|
agent->msg = dbus_message_ref(msg);
|
||||||
|
|
Loading…
Reference in New Issue