Commit Graph

7 Commits

Author SHA1 Message Date
Lucas De Marchi a37c6ca20f e: follow edbus change about unref'ing messages after send
Don't unref the messages after calling edbus_*_send() since edbus
automatically unrefs them. It was also impressive the number of places
that were not unrefing the message when they should.



SVN revision: 82808
2013-01-15 14:34:50 +00:00
Mike Blumenkrantz 9e8e755cdf formatting: all at once
SVN revision: 82625
2013-01-11 10:34:29 +00:00
Lucas De Marchi 23c7d0a98b e/notification: fix typo and use designated initializers on server
SVN revision: 82121
2013-01-03 22:08:19 +00:00
Lucas De Marchi 2aca12cc2e e/notification: do not use null_strings_replace()
It would be very weird and error-prone on clients to have code like
this:

E_Notification_Notify n;
memset(n, 0, sizeof(*n));
n.app_name = "bla";
e_notification_client_send(...);
eina_stringshare_del(n.icon.icon);
eina_stringshare_del(...);
...

Instead of doing this, replace NULL by "" in the only place it's not
allowed: while sending the D-Bus message.



SVN revision: 82120
2013-01-03 22:08:15 +00:00
José Roberto de Souza 84550effc5 e: Add client api to notifications
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 82119
2013-01-03 22:08:10 +00:00
Lucas De Marchi 8ec8c40bb7 e/notification: improve consistency of the API
Rename some functions and fields to have a better API. Also sanitize the
method and signal tables.



SVN revision: 82117
2013-01-03 22:08:00 +00:00
José Roberto de Souza ab185d46c3 e: Add notification API
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 82116
2013-01-03 22:07:56 +00:00