William Jon McCann
e6a4970a79
return NULL not FALSE
2010-11-15 14:41:25 -05:00
Javier Jardón
560abf5c97
docs: Move documentation to inline comments: notify
...
https://bugzilla.gnome.org/show_bug.cgi?id=634266
2010-11-14 10:52:42 -05:00
Christian Persch
f63e8ab8b1
Port to gdbus
...
Bug #622891 .
2010-10-12 15:57:33 +02:00
William Jon McCann
cb6f92ce5b
Port to gtk3 for the tests
2010-10-09 01:26:38 -04:00
William Jon McCann
b6c1835fcf
Don't need to fuss with gtk symbols since we don't use gtk at all anymore
2010-10-09 00:32:31 -04:00
William Jon McCann
3f14ad4c71
Remove the ability to attach to a status icon
...
This technique is replaced by the use of notification persistence.
2010-10-08 22:31:40 -04:00
Jonny Lamb
4830863bab
Use correct variable in NULL check
...
If you pass NULL as the fourth argument to notify_get_server_info it
segfaults.
https://bugzilla.gnome.org/show_bug.cgi?id=623096
2010-07-01 20:46:04 -04:00
Martin Pitt
1a103f1eee
Fix assertion when uniniting without any notifications
...
The lazy initialization from commit 3dc04fa
caused a small regression: When a
process would init and uninit libnotify without ever sending a notification,
_proxy was still NULL, which caused an assertion
(process:20953): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
Bug-Ubuntu: https://bugs.launchpad.net/bugs/570462
2010-07-01 14:32:57 +02:00
Bastien Nocera
0eb56b2fcf
Don't link against a particular version of GTK+
...
Instead, open ourselves through GModule, and check whether
we have all the GTK+ and GDK functions required for us to
work correctly.
This means that the front-end application cannot rely on
libnotify linking against GTK+, which would only be a problem
for edge-cases.
https://bugzilla.gnome.org/show_bug.cgi?id=622550
2010-06-28 23:34:50 +01:00
William Jon McCann
23d7fc296a
Don't leak an error
2010-06-24 02:19:07 -04:00
William Jon McCann
87ced33981
Don't g_message when dbus calls fail
...
It may be annoying in some cases.
https://bugzilla.gnome.org/show_bug.cgi?id=608086
2010-06-24 02:16:58 -04:00
William Jon McCann
dedef26ef9
Various cleanups
2010-06-24 02:12:40 -04:00
William Jon McCann
d6476d362b
Don't try to use the proxy after it is destroyed
...
https://bugzilla.gnome.org/show_bug.cgi?id=608089
2010-06-24 02:11:53 -04:00
Martin Pitt
3dc04fac90
lazily start the daemon
...
notify_init() caused the daemon to be D-Bus activated already, even if the
program that calls it doesn't send an actual notification for a long time (or
potentially not at all).
In order to optimize desktop startup speed, and to avoid unnecessary
processes, launch the daemon on demand only.
https://bugzilla.gnome.org/show_bug.cgi?id=610880
2010-04-02 19:43:35 -04:00
Aurélien Gâteau
e2fcc5e0dd
Fix memory leaks
2010-01-29 06:01:50 -05:00
Aurélien Gâteau
6c1231835d
Support for image_data hint
...
Add support for the image_data hint from version 1.1 of the spec.
2010-01-29 05:50:49 -05:00
William Jon McCann
4db61ddb45
Use a consistent style
2010-01-29 04:35:35 -05:00
William Jon McCann
8374438dcf
Fix indentation
2010-01-09 13:00:58 -05:00
Christian Hammond
6b40617e90
Add support for sending the closed reason in the signal handler. Closes ticket #139 .
2008-03-19 04:53:30 +00:00
Christian Hammond
d43f911108
Get rid of format_func.
2007-02-15 10:29:16 +00:00
Christian Hammond
9362dbd6bd
Patch by Giacomo Lozito to fix a problem where the dbus proxy was not being freed on notify_uninit, which led to problems when libnotify was used in a loadable module. This fixes bug #92 .
2006-11-05 20:07:37 +00:00
Christian Hammond
fead26f260
Patch by berndth to stop using g_atexit, as this can fail in the case of a dynamically loaded module. Applications should now call notify_uninit() on exit or on plugin unload. This closes bug #86 .
2006-09-04 06:45:34 +00:00
Christian Hammond
cc13b1892f
Add some gtk-doc documentation.
2006-06-06 07:14:42 +00:00
Christian Hammond
51ecbc7a2b
Set _initted to FALSE in notify_uninit(), so that notify_is_initted() won't return TRUE.
2006-06-04 23:12:30 +00:00
Christian Hammond
18d8f305d0
Make a best attempt at clearing away notifications that require actions or that exist until clicked when the calling application exits. This doesn't always work.
2006-01-23 09:10:55 +00:00
Christian Hammond
c587295cdd
Use one D-BUS connection, one GProxy, total. This is better than the one per notification, and fixes a few bugs.
2006-01-21 08:38:35 +00:00
Christian Hammond
9b1b095caf
Some small code cleanups.
2006-01-21 04:49:43 +00:00
Christian Hammond
a834c839fc
- Clean up a lot of the API. Several functions returned gboolean when there was very little point in doing so.
...
- Add assertions to all the functions.
- Remove the notify_notification_{set,get}_user_data() functions. These are useless, since this is a GObject, and we get it for free.
2006-01-20 09:39:25 +00:00
Christian Hammond
3dac8b3d66
Do some rearranging of the files in libnotify, and include things properly so people can actually use the library without fudging with include paths.
2006-01-20 06:08:58 +00:00
Christian Hammond
f351f656e5
Get rid of dbus-compat.h.
2006-01-20 05:56:49 +00:00
Christian Hammond
fd53ececa2
Fixed the coding style.
2006-01-20 05:55:30 +00:00
Christian Hammond
85981b247c
Add back notify_get_server_info() and notify_get_server_caps().
2006-01-16 01:53:06 +00:00
Christian Hammond
fb513c854d
Clean up lots of warnings.
2006-01-09 18:16:48 +00:00
John (J5) Palmieri
6017d6af7b
First import of the next generation libnotify API
2005-11-10 19:18:10 +00:00