elementary: follow edbus change about unref'ing messages after send

Don't unref the messages after calling edbus_*_send() since edbus
automatically unrefs them.



SVN revision: 82809
This commit is contained in:
Lucas De Marchi 2013-01-15 14:35:07 +00:00
parent ef329f5065
commit a945c290e5
2 changed files with 0 additions and 4 deletions

View File

@ -895,7 +895,6 @@ _elm_dbus_menu_app_menu_register(Ecore_X_Window xid, Eo *obj)
edbus_message_arguments_append(msg, "uo", (unsigned)xid,
obj_path);
edbus_connection_send(sd->dbus_menu->bus, msg, NULL, NULL, -1);
edbus_message_unref(msg);
sd->dbus_menu->xid = xid;
}
@ -919,7 +918,6 @@ _elm_dbus_menu_app_menu_unregister(Eo *obj)
REGISTRAR_INTERFACE, "UnregisterWindow");
edbus_message_arguments_append(msg, "u", (unsigned)sd->dbus_menu->xid);
edbus_connection_send(sd->dbus_menu->bus, msg, NULL, NULL, -1);
edbus_message_unref(msg);
sd->dbus_menu->xid = 0;
}

View File

@ -196,8 +196,6 @@ elm_sys_notify_send(unsigned int replaces_id, const char *icon,
edbus_message_iter_arguments_append(iter, "i", timeout);
edbus_proxy_send(_elm_sysnotif_proxy, msg, _notify_cb, data, -1);
edbus_message_unref(msg);
free(desk_free);
free(body_free);
return;