Hello community,
here is the log from the commit of package libnotify
checked in at Tue Mar 6 18:58:23 CET 2007.
--------
--- GNOME/libnotify/libnotify.changes 2007-02-20 12:51:54.000000000 +0100
+++ /mounts/work_src_done/STABLE/libnotify/libnotify.changes 2007-03-06 17:30:32.751067000 +0100
@@ -1,0 +2,9 @@
+Tue Mar 6 16:51:49 CET 2007 - sbrabec@suse.cz
+
+- Updated to version version 0.4.4:
+ * Bug fixes.
+ * Fixed memory leaks.
+ * notify_uninit is no longer called automatically at exit.
+- License update (#236707).
+
+-------------------------------------------------------------------
Old:
----
libnotify-0.4.2.tar.bz2
New:
----
libnotify-0.4.4.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libnotify.spec ++++++
--- /var/tmp/diff_new_pack.xN2157/_old 2007-03-06 18:58:14.000000000 +0100
+++ /var/tmp/diff_new_pack.xN2157/_new 2007-03-06 18:58:14.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package libnotify (Version 0.4.2)
+# spec file for package libnotify (Version 0.4.4)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -17,11 +17,11 @@
%else
BuildRequires: dbus-1-devel dbus-1-glib
%endif
-Version: 0.4.2
-Release: 38
+Version: 0.4.4
+Release: 1
URL: http://www.galago-project.org/
Group: System/Libraries
-License: GNU Library General Public License v. 2.0 and 2.1 (LGPL)
+License: GNU General Public License (GPL), GNU Library General Public License v. 2.0 and 2.1 (LGPL)
Summary: Notifications Library
Source: %{name}-%{version}.tar.bz2
Autoreqprov: on
@@ -72,7 +72,7 @@
Mike Hearn
%prep
-%setup
+%setup -q
%build
autoreconf -f -i
@@ -94,7 +94,8 @@
%files
%defattr (-, root, root)
-%doc AUTHORS COPYING ChangeLog NEWS README
+# README is empty
+%doc AUTHORS COPYING ChangeLog NEWS
%{_libdir}/*.so.*
%{_bindir}/*
@@ -110,6 +111,12 @@
%{_datadir}/gtk-doc/html/libnotify
%changelog
+* Tue Mar 06 2007 - sbrabec@suse.cz
+- Updated to version version 0.4.4:
+ * Bug fixes.
+ * Fixed memory leaks.
+ * notify_uninit is no longer called automatically at exit.
+- License update (#236707).
* Tue Feb 20 2007 - aj@suse.de
- Remove unneeded requires on popt.
* Wed Feb 07 2007 - sbrabec@suse.cz
++++++ libnotify-0.4.2.tar.bz2 -> libnotify-0.4.4.tar.bz2 ++++++
++++ 13604 lines of diff (skipped)
++++ retrying with extended exclude list
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libnotify-0.4.2/AUTHORS new/libnotify-0.4.4/AUTHORS
--- old/libnotify-0.4.2/AUTHORS 2006-06-03 00:56:37.000000000 +0200
+++ new/libnotify-0.4.4/AUTHORS 2006-07-29 12:02:34.000000000 +0200
@@ -12,3 +12,5 @@
Tom Parker
jensgr@gmx.net
M.S.
+ mderezynski
+ Ed Catmur
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libnotify-0.4.2/ChangeLog new/libnotify-0.4.4/ChangeLog
--- old/libnotify-0.4.2/ChangeLog 2006-06-18 04:18:16.000000000 +0200
+++ new/libnotify-0.4.4/ChangeLog 2007-02-28 06:11:47.000000000 +0100
@@ -1,3 +1,130 @@
+========================= 0.4.4 =========================
+
+Tue Feb 27 21:11:36 PST 2007 Christian Hammond
+
+ * NEWS:
+ * configure.ac:
+ - Bump to version 0.4.4.
+
+Thu Feb 15 03:10:39 PST 2007 Christian Hammond
+
+ * NEWS:
+ - Update with all the fixes in this release.
+
+Thu Feb 15 02:44:16 PST 2007 Christian Hammond
+
+ * libnotify/notification.c:
+ - Prevent a crash when the handler for a notification's closed signal
+ removes the last reference to the notification. We attempted to set
+ the ID of the notification after emitting this signal, but the
+ notification was destroyed already. So, keep a reference while doing
+ all this. This fixes bug #116.
+
+Thu Feb 15 02:29:01 PST 2007 Christian Hammond
+
+ * libnotify/notify.c:
+ - Get rid of format_func.
+
+Thu Feb 15 02:06:11 PST 2007 Christian Hammond
+
+ * libnotify/notification.c:
+ - Fix some memory leaks when appending data to a message. Scary,
+ horrible, traumatizing memory leaks. Actually it's pretty bad,
+ though, so new release coming up soon. This fixes bug #112.
+
+Thu Feb 15 01:58:52 PST 2007 Christian Hammond
+
+ * tests/test-image.c:
+ - Use a more common (I hope) icontheme icon for the test.
+
+Thu Feb 15 00:52:56 PST 2007 Christian Hammond
+
+ * libnotify/notification.c:
+ - Fix a bug in notify_notification_add_action where the function
+ to free the user data was never called, causing memory leaks.
+ This fixes bug #119.
+
+Mon Nov 13 23:42:07 PST 2006 Christian Hammond
+
+ * tests/Makefile.am:
+ A tests/test-size-changes.c:
+ * tests/test-default-action.c:
+ - Added a test program that displays three notifications and then
+ changes the amount of text in one of them.
+
+Sun Nov 05 12:06:01 PST 2006 Christian Hammond
+
+ * libnotify/notify.c:
+ - 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.
+
+Sun Nov 05 11:54:10 PST 2006 Christian Hammond
+
+ * configure.ac:
+ * NEWS:
+ - Bump to version 0.4.3.90.
+
+Sun Nov 05 11:50:44 PST 2006 Christian Hammond
+
+ * libnotify/notification.c:
+ - Patch by jylefort to only reset a notification's ID to 0 if it
+ was the notification closed. This fixes bug #94.
+
+========================= 0.4.3 =========================
+
+Sun Oct 08 13:21:20 EDT 2006 Christian Hammond
+
+ * configure.ac:
+ * NEWS:
+ - Bump the version to 0.4.3.
+ - Add the release datestamp.
+
+Sun Sep 03 23:48:29 PDT 2006 Christian Hammond
+
+ * libnotify/notification.c:
+ * NEWS:
+ - Patch by lucasr to fix an invalid assertion in
+ notify_notification_new_with_status_icon. This closes bug #85.
+
+Sun Sep 03 23:44:01 PDT 2006 Christian Hammond
+
+ * libnotify/notify.c:
+ * NEWS:
+ - 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.
+
+Mon Jul 31 19:40:10 PDT 2006 Christian Hammond
+
+ * libnotify/notification.c:
+ - Emit the property change notification for "status-icon" and not
+ "attach-icon". This closes bug #81.
+
+Sat Jul 29 03:02:18 PDT 2006 Christian Hammond
+
+ * libnotify/notification.c:
+ - Patch by Ed Catmur to reset a notification's ID if
+ notify_notification_show() is called on a notification that had
+ already been closed. This causes the notification to receive a new
+ ID. This closes ticket #78.
+
+Thu Jul 13 00:44:29 PDT 2006 Christian Hammond
+
+ * configure.ac:
+ - Patch by compnerd to check for glib 2.6+ during configure, as that
+ is now required. This closes ticket #69.
+
+Thu Jul 13 00:41:16 PDT 2006 Christian Hammond
+
+ * libnotify/notification.c:
+ * AUTHORS:
+ * configure.ac:
+ - Patch by mderezynski to send an array of UCHARs as expected by
+ notification-daemon rather than an array of CHARs. This closes
+ ticket #68.
+ - Bump to version 0.4.2.90.
+
========================= 0.4.2 =========================
Sat Jun 17 19:17:05 PDT 2006 Christian Hammond
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libnotify-0.4.2/config.h.in new/libnotify-0.4.4/config.h.in
--- old/libnotify-0.4.2/config.h.in 2006-06-18 04:18:36.000000000 +0200
+++ new/libnotify-0.4.4/config.h.in 2007-02-28 06:08:35.000000000 +0100
@@ -81,5 +81,5 @@
/* Define to empty if `const' does not conform to ANSI C. */
#undef const
-/* Define to `unsigned' if does not define. */
+/* Define to `unsigned int' if does not define. */
#undef size_t
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libnotify-0.4.2/configure.ac new/libnotify-0.4.4/configure.ac
--- old/libnotify-0.4.2/configure.ac 2006-06-18 04:17:02.000000000 +0200
+++ new/libnotify-0.4.4/configure.ac 2007-02-28 06:08:08.000000000 +0100
@@ -3,7 +3,7 @@
dnl ################################################################
dnl # Initialize autoconf
dnl ################################################################
-AC_INIT(libnotify, 0.4.2, chipx86@chipx86.com)
+AC_INIT(libnotify, 0.4.4, chipx86@chipx86.com)
AC_PREREQ(2.50)
AC_CONFIG_SRCDIR(config.h.in)
AC_COPYRIGHT([Copyright 2004-2006 Christian Hammond])
@@ -14,7 +14,7 @@
dnl ################################################################
LIBGALAGO_MAJOR_VERSION=0
LIBGALAGO_MINOR_VERSION=4
-LIBGALAGO_MICRO_VERSION=2
+LIBGALAGO_MICRO_VERSION=4
LIBGALAGO_DEVEL_VERSION=0
LIBGALAGO_VERSION=$LIBGALAGO_MAJOR_VERSION.$LIBGALAGO_MINOR_VERSION.$LIBGALAGO_MICRO_VERSION
@@ -43,7 +43,7 @@
dnl # CURRENT : REVISION : AGE
dnl #
LT_CURRENT=2
-LT_REVISION=0
+LT_REVISION=2
LT_AGE=1
LT_RELEASE=$LIBGALAGO_MAJOR_VERSION.$LIBGALAGO_MINOR_VERSION.$LIBGALAGO_MICRO_VERSION
@@ -83,7 +83,9 @@
AM_PROG_LIBTOOL
REQ_DBUS_VERSION=0.36
-pkg_modules="gtk+-2.0 >= 2.2.2, glib-2.0 >= 2.2.2, dbus-1 >= $REQ_DBUS_VERSION, dbus-glib-1 >= $REQ_DBUS_VERSION"
+REQ_GTK_VERSION=2.6
+REQ_GLIB_VERSION=2.6
+pkg_modules="gtk+-2.0 >= $REQ_GTK_VERSION, glib-2.0 >= $REQ_GLIB_VERSION, dbus-1 >= $REQ_DBUS_VERSION, dbus-glib-1 >= $REQ_DBUS_VERSION"
AC_SUBST(pkg_modules)
PKG_CHECK_MODULES(PACKAGE, [$pkg_modules])
AC_SUBST(PACKAGE_CFLAGS)
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libnotify-0.4.2/docs/reference/html/ch01.html new/libnotify-0.4.4/docs/reference/html/ch01.html
--- old/libnotify-0.4.2/docs/reference/html/ch01.html 2006-06-18 04:18:39.000000000 +0200
+++ new/libnotify-0.4.4/docs/reference/html/ch01.html 2007-02-28 08:13:07.000000000 +0100
@@ -8,7 +8,7 @@
<link rel="up" href="index.html" title="Libnotify Reference Manual">
<link rel="prev" href="index.html" title="Libnotify Reference Manual">
<link rel="next" href="libnotify-notify.html" title="notify">
-<meta name="generator" content="GTK-Doc V1.6 (XML mode)">
+<meta name="generator" content="GTK-Doc V1.7 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="chapter" href="ch01.html" title="Libnotify">
</head>
@@ -22,7 +22,7 @@
</tr></table>
<div class="chapter" lang="en">
<div class="titlepage"><div><div><h2 class="title">
-<a name="id2508278"></a>Libnotify</h2></div></div></div>
+<a name="id2513728"></a>Libnotify</h2></div></div></div>
<div class="toc"><dl>
<dt>
<span class="refentrytitle"><a href="libnotify-notify.html">notify</a></span><span class="refpurpose"> - Notification API</span>
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libnotify-0.4.2/docs/reference/html/index.html new/libnotify-0.4.4/docs/reference/html/index.html
--- old/libnotify-0.4.2/docs/reference/html/index.html 2006-06-18 04:18:39.000000000 +0200
+++ new/libnotify-0.4.4/docs/reference/html/index.html 2007-02-28 08:13:07.000000000 +0100
@@ -6,7 +6,7 @@
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
<link rel="start" href="index.html" title="Libnotify Reference Manual">
<link rel="next" href="ch01.html" title="Libnotify">
-<meta name="generator" content="GTK-Doc V1.6 (XML mode)">
+<meta name="generator" content="GTK-Doc V1.7 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="chapter" href="ch01.html" title="Libnotify">
</head>
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libnotify-0.4.2/docs/reference/html/index.sgml new/libnotify-0.4.4/docs/reference/html/index.sgml
--- old/libnotify-0.4.2/docs/reference/html/index.sgml 2006-06-18 04:18:39.000000000 +0200
+++ new/libnotify-0.4.4/docs/reference/html/index.sgml 2007-02-28 08:13:07.000000000 +0100
@@ -38,5 +38,6 @@
<ANCHOR id="NotifyNotification--attach-widget" href="libnotify/NotifyNotification.html#NotifyNotification--attach-widget">
<ANCHOR id="NotifyNotification--body" href="libnotify/NotifyNotification.html#NotifyNotification--body">
<ANCHOR id="NotifyNotification--icon-name" href="libnotify/NotifyNotification.html#NotifyNotification--icon-name">
+<ANCHOR id="NotifyNotification--status-icon" href="libnotify/NotifyNotification.html#NotifyNotification--status-icon">
<ANCHOR id="NotifyNotification--summary" href="libnotify/NotifyNotification.html#NotifyNotification--summary">
<ANCHOR id="NotifyNotification-closed" href="libnotify/NotifyNotification.html#NotifyNotification-closed">
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libnotify-0.4.2/docs/reference/html/libnotify.devhelp new/libnotify-0.4.4/docs/reference/html/libnotify.devhelp
--- old/libnotify-0.4.2/docs/reference/html/libnotify.devhelp 2006-06-18 04:18:39.000000000 +0200
+++ new/libnotify-0.4.4/docs/reference/html/libnotify.devhelp 2007-02-28 08:13:07.000000000 +0100
@@ -43,6 +43,7 @@
<function name="The "attach-widget" property" link="NotifyNotification.html#NotifyNotification--attach-widget"/>
<function name="The "body" property" link="NotifyNotification.html#NotifyNotification--body"/>
<function name="The "icon-name" property" link="NotifyNotification.html#NotifyNotification--icon-name"/>
+ <function name="The "status-icon" property" link="NotifyNotification.html#NotifyNotification--status-icon"/>
<function name="The "summary" property" link="NotifyNotification.html#NotifyNotification--summary"/>
<function name="The "closed" signal" link="NotifyNotification.html#NotifyNotification-closed"/>
</functions>
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libnotify-0.4.2/docs/reference/html/libnotify.devhelp2 new/libnotify-0.4.4/docs/reference/html/libnotify.devhelp2
--- old/libnotify-0.4.2/docs/reference/html/libnotify.devhelp2 2006-06-18 04:18:39.000000000 +0200
+++ new/libnotify-0.4.4/docs/reference/html/libnotify.devhelp2 2007-02-28 08:13:07.000000000 +0100
@@ -43,6 +43,7 @@
<keyword type="" name="The "attach-widget" property" link="NotifyNotification.html#NotifyNotification--attach-widget"/>
<keyword type="" name="The "body" property" link="NotifyNotification.html#NotifyNotification--body"/>
<keyword type="" name="The "icon-name" property" link="NotifyNotification.html#NotifyNotification--icon-name"/>
+ <keyword type="" name="The "status-icon" property" link="NotifyNotification.html#NotifyNotification--status-icon"/>
<keyword type="" name="The "summary" property" link="NotifyNotification.html#NotifyNotification--summary"/>
<keyword type="" name="The "closed" signal" link="NotifyNotification.html#NotifyNotification-closed"/>
</functions>
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libnotify-0.4.2/docs/reference/html/libnotify-notify.html new/libnotify-0.4.4/docs/reference/html/libnotify-notify.html
--- old/libnotify-0.4.2/docs/reference/html/libnotify-notify.html 2006-06-18 04:18:39.000000000 +0200
+++ new/libnotify-0.4.4/docs/reference/html/libnotify-notify.html 2007-02-28 08:13:07.000000000 +0100
@@ -8,7 +8,7 @@
<link rel="up" href="ch01.html" title="Libnotify">
<link rel="prev" href="ch01.html" title="Libnotify">
<link rel="next" href="NotifyNotification.html" title="NotifyNotification">
-<meta name="generator" content="GTK-Doc V1.6 (XML mode)">
+<meta name="generator" content="GTK-Doc V1.7 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="chapter" href="ch01.html" title="Libnotify">
</head>
@@ -21,21 +21,23 @@
<th width="100%" align="center">Libnotify Reference Manual</th>
<td><a accesskey="n" href="NotifyNotification.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
-<tr><td colspan="5" class="shortcuts"><nobr><a href="#top_of_page" class="shortcut">Top</a>
+<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2550627" class="shortcut">Top</a>
|
- <a href="#desc" class="shortcut">Description</a></nobr></td></tr>
+ <a href="#id2481920" class="shortcut">Description</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="libnotify-notify"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
-<h2><span class="refentrytitle"><a name="top_of_page"></a>notify</span></h2>
+<h2>
+<a name="id2550627"></a><span class="refentrytitle">notify</span>
+</h2>
<p>notify — Notification API</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
-<a name="synopsis"></a><h2>Synopsis</h2>
+<h2>Synopsis</h2>
<pre class="synopsis">
@@ -52,17 +54,17 @@
</pre>
</div>
<div class="refsect1" lang="en">
-<a name="desc"></a><h2>Description</h2>
+<a name="id2481920"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" lang="en">
-<a name="details"></a><h2>Details</h2>
+<a name="id2481935"></a><h2>Details</h2>
<div class="refsect2" lang="en">
-<a name="id2476475"></a><h3>
+<a name="id2481946"></a><h3>
<a name="notify-init"></a>notify_init ()</h3>
-<a class="indexterm" name="id2476486"></a><pre class="programlisting">gboolean notify_init (const char *app_name);</pre>
+<a class="indexterm" name="id2481958"></a><pre class="programlisting">gboolean notify_init (const char *app_name);</pre>
<p>
Initialized libnotify. This must be called before any other functions.</p>
<p>
@@ -88,9 +90,9 @@
</div>
<hr>
<div class="refsect2" lang="en">
-<a name="id2494418"></a><h3>
+<a name="id2499861"></a><h3>
<a name="notify-uninit"></a>notify_uninit ()</h3>
-<a class="indexterm" name="id2494430"></a><pre class="programlisting">void notify_uninit (void);</pre>
+<a class="indexterm" name="id2499873"></a><pre class="programlisting">void notify_uninit (void);</pre>
<p>
Uninitialized libnotify.
</p>
@@ -103,9 +105,9 @@
</div>
<hr>
<div class="refsect2" lang="en">
-<a name="id2494460"></a><h3>
+<a name="id2499904"></a><h3>
<a name="notify-is-initted"></a>notify_is_initted ()</h3>
-<a class="indexterm" name="id2494473"></a><pre class="programlisting">gboolean notify_is_initted (void);</pre>
+<a class="indexterm" name="id2499916"></a><pre class="programlisting">gboolean notify_is_initted (void);</pre>
<p>
Gets whether or not libnotify is initialized.</p>
<p>
@@ -123,9 +125,9 @@
</div>
<hr>
<div class="refsect2" lang="en">
-<a name="id2517384"></a><h3>
+<a name="id2522823"></a><h3>
<a name="notify-get-app-name"></a>notify_get_app_name ()</h3>
-<a class="indexterm" name="id2517396"></a><pre class="programlisting">const gchar* notify_get_app_name (void);</pre>
+<a class="indexterm" name="id2522836"></a><pre class="programlisting">const gchar* notify_get_app_name (void);</pre>
<p>
Gets the application name registered.</p>
<p>
@@ -143,9 +145,9 @@
</div>
<hr>
<div class="refsect2" lang="en">
-<a name="id2517446"></a><h3>
+<a name="id2522886"></a><h3>
<a name="notify-get-server-caps"></a>notify_get_server_caps ()</h3>
-<a class="indexterm" name="id2517457"></a><pre class="programlisting">GList* notify_get_server_caps (void);</pre>
+<a class="indexterm" name="id2522897"></a><pre class="programlisting">GList* notify_get_server_caps (void);</pre>
<p>
Queries the server for its capabilities and returns them in a <span class="type">GList</span>.</p>
<p>
@@ -163,9 +165,9 @@
</div>
<hr>
<div class="refsect2" lang="en">
-<a name="id2517512"></a><h3>
+<a name="id2522951"></a><h3>
<a name="notify-get-server-info"></a>notify_get_server_info ()</h3>
-<a class="indexterm" name="id2517523"></a><pre class="programlisting">gboolean notify_get_server_info (char **ret_name,
+<a class="indexterm" name="id2522963"></a><pre class="programlisting">gboolean notify_get_server_info (char **ret_name,
char **ret_vendor,
char **ret_version,
char **ret_spec_version);</pre>
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libnotify-0.4.2/docs/reference/html/NotifyNotification.html new/libnotify-0.4.4/docs/reference/html/NotifyNotification.html
--- old/libnotify-0.4.2/docs/reference/html/NotifyNotification.html 2006-06-18 04:18:39.000000000 +0200
+++ new/libnotify-0.4.4/docs/reference/html/NotifyNotification.html 2007-02-28 08:13:07.000000000 +0100
@@ -7,7 +7,7 @@
<link rel="start" href="index.html" title="Libnotify Reference Manual">
<link rel="up" href="ch01.html" title="Libnotify">
<link rel="prev" href="libnotify-notify.html" title="notify">
-<meta name="generator" content="GTK-Doc V1.6 (XML mode)">
+<meta name="generator" content="GTK-Doc V1.7 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="chapter" href="ch01.html" title="Libnotify">
</head>
@@ -20,27 +20,29 @@
<th width="100%" align="center">Libnotify Reference Manual</th>
<td> </td>
</tr>
-<tr><td colspan="5" class="shortcuts"><nobr><a href="#top_of_page" class="shortcut">Top</a>
+<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2526446" class="shortcut">Top</a>
|
- <a href="#desc" class="shortcut">Description</a>
+ <a href="#id2477569" class="shortcut">Description</a>
|
- <a href="#object_hierarchy" class="shortcut">Object Hierarchy</a>
+ <a href="#id2477418" class="shortcut">Object Hierarchy</a>
|
- <a href="#properties" class="shortcut">Properties</a>
+ <a href="#id2477442" class="shortcut">Properties</a>
|
- <a href="#signal_proto" class="shortcut">Signals</a></nobr></td></tr>
+ <a href="#id2477525" class="shortcut">Signals</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="NotifyNotification"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
-<h2><span class="refentrytitle"><a name="top_of_page"></a>NotifyNotification</span></h2>
+<h2>
+<a name="id2526446"></a><span class="refentrytitle">NotifyNotification</span>
+</h2>
<p>NotifyNotification — A passive pop-up notification.</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
-<a name="synopsis"></a><h2>Synopsis</h2>
+<h2>Synopsis</h2>
<pre class="synopsis">
@@ -49,9 +51,9 @@
#define <a href="NotifyNotification.html#NOTIFY-EXPIRES-NEVER:CAPS">NOTIFY_EXPIRES_NEVER</a>
<a href="NotifyNotification.html#NotifyNotification-struct">NotifyNotification</a>;
enum <a href="NotifyNotification.html#NotifyUrgency">NotifyUrgency</a>;
-void (<a href="NotifyNotification.html#NotifyActionCallback">*NotifyActionCallback</a>) (<a href="NotifyNotification.html" title="NotifyNotification">NotifyNotification</a>*,
- gchar*,
- gpointer);
+void (<a href="NotifyNotification.html#NotifyActionCallback">*NotifyActionCallback</a>) (<a href="NotifyNotification.html" title="NotifyNotification">NotifyNotification</a> *,
+ gchar *,
+ gpointer );
#define <a href="NotifyNotification.html#NOTIFY-ACTION-CALLBACK:CAPS">NOTIFY_ACTION_CALLBACK</a> (func)
<a href="NotifyNotification.html" title="NotifyNotification">NotifyNotification</a>* <a href="NotifyNotification.html#notify-notification-new">notify_notification_new</a> (const gchar *summary,
const gchar *body,
@@ -125,7 +127,7 @@
</pre>
</div>
<div class="refsect1" lang="en">
-<a name="object_hierarchy"></a><h2>Object Hierarchy</h2>
+<a name="id2477418"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
@@ -133,17 +135,18 @@
</pre>
</div>
<div class="refsect1" lang="en">
-<a name="properties"></a><h2>Properties</h2>
+<a name="id2477442"></a><h2>Properties</h2>
<pre class="synopsis">
"<a href="NotifyNotification.html#NotifyNotification--attach-widget">attach-widget</a>" GtkWidget : Read / Write / Construct
"<a href="NotifyNotification.html#NotifyNotification--body">body</a>" gchararray : Read / Write / Construct
"<a href="NotifyNotification.html#NotifyNotification--icon-name">icon-name</a>" gchararray : Read / Write / Construct
+ "<a href="NotifyNotification.html#NotifyNotification--status-icon">status-icon</a>" GtkStatusIcon : Read / Write / Construct
"<a href="NotifyNotification.html#NotifyNotification--summary">summary</a>" gchararray : Read / Write / Construct
</pre>
</div>
<div class="refsect1" lang="en">
-<a name="signal_proto"></a><h2>Signals</h2>
+<a name="id2477525"></a><h2>Signals</h2>
<pre class="synopsis">
"<a href="NotifyNotification.html#NotifyNotification-closed">closed</a>" void user_function (<a href="NotifyNotification.html" title="NotifyNotification">NotifyNotification</a> *notification,
@@ -151,7 +154,7 @@
</pre>
</div>
<div class="refsect1" lang="en">
-<a name="desc"></a><h2>Description</h2>
+<a name="id2477569"></a><h2>Description</h2>
<p>
<a href="NotifyNotification.html" title="NotifyNotification"><span class="type">NotifyNotification</span></a> represents a passive pop-up notification. It can
contain summary text, body text, and an icon, as well as hints specifying
@@ -162,11 +165,11 @@
</p>
</div>
<div class="refsect1" lang="en">
-<a name="details"></a><h2>Details</h2>
+<a name="id2568226"></a><h2>Details</h2>
<div class="refsect2" lang="en">
-<a name="id2562748"></a><h3>
+<a name="id2568234"></a><h3>
<a name="NOTIFY-EXPIRES-DEFAULT:CAPS"></a>NOTIFY_EXPIRES_DEFAULT</h3>
-<a class="indexterm" name="id2562758"></a><pre class="programlisting">#define NOTIFY_EXPIRES_DEFAULT -1
+<a class="indexterm" name="id2568245"></a><pre class="programlisting">#define NOTIFY_EXPIRES_DEFAULT -1
</pre>
<p>
The default expiration time on a notification.
@@ -174,9 +177,9 @@
</div>
<hr>
<div class="refsect2" lang="en">
-<a name="id2562774"></a><h3>
+<a name="id2568260"></a><h3>
<a name="NOTIFY-EXPIRES-NEVER:CAPS"></a>NOTIFY_EXPIRES_NEVER</h3>
-<a class="indexterm" name="id2562784"></a><pre class="programlisting">#define NOTIFY_EXPIRES_NEVER 0
+<a class="indexterm" name="id2568270"></a><pre class="programlisting">#define NOTIFY_EXPIRES_NEVER 0
</pre>
<p>
The notification never expires. It stays open until closed by the calling API
@@ -185,9 +188,9 @@
</div>
<hr>
<div class="refsect2" lang="en">
-<a name="id2539254"></a><h3>
+<a name="id2568286"></a><h3>
<a name="NotifyNotification-struct"></a>NotifyNotification</h3>
-<a class="indexterm" name="id2533641"></a><pre class="programlisting">typedef struct _NotifyNotification NotifyNotification;</pre>
+<a class="indexterm" name="id2568297"></a><pre class="programlisting">typedef struct _NotifyNotification NotifyNotification;</pre>
<p>
This is an opaque structure representing a notification. This should
not be used directly. Use the accessor functions below.
@@ -195,9 +198,9 @@
</div>
<hr>
<div class="refsect2" lang="en">
-<a name="id2562802"></a><h3>
+<a name="id2568314"></a><h3>
<a name="NotifyUrgency"></a>enum NotifyUrgency</h3>
-<a class="indexterm" name="id2562813"></a><pre class="programlisting">typedef enum
+<a class="indexterm" name="id2568324"></a><pre class="programlisting">typedef enum
{
NOTIFY_URGENCY_LOW,
NOTIFY_URGENCY_NORMAL,
@@ -238,11 +241,11 @@
</div>
<hr>
<div class="refsect2" lang="en">
-<a name="id2562895"></a><h3>
+<a name="id2568412"></a><h3>
<a name="NotifyActionCallback"></a>NotifyActionCallback ()</h3>
-<a class="indexterm" name="id2562905"></a><pre class="programlisting">void (*NotifyActionCallback) (<a href="NotifyNotification.html" title="NotifyNotification">NotifyNotification</a>*,
- gchar*,
- gpointer);</pre>
+<a class="indexterm" name="id2568423"></a><pre class="programlisting">void (*NotifyActionCallback) (<a href="NotifyNotification.html" title="NotifyNotification">NotifyNotification</a> *,
+ gchar *,
+ gpointer );</pre>
<p>
An action callback function.
</p>
@@ -274,9 +277,9 @@
</div>
<hr>
<div class="refsect2" lang="en">
-<a name="id2562983"></a><h3>
+<a name="id2568511"></a><h3>
<a name="NOTIFY-ACTION-CALLBACK:CAPS"></a>NOTIFY_ACTION_CALLBACK()</h3>
-<a class="indexterm" name="id2562994"></a><pre class="programlisting">#define NOTIFY_ACTION_CALLBACK(func) ((NotifyActionCallback)(func))
+<a class="indexterm" name="id2568522"></a><pre class="programlisting">#define NOTIFY_ACTION_CALLBACK(func) ((NotifyActionCallback)(func))
</pre>
<p>
A convenience macro for casting a function to a <a href="NotifyNotification.html#NotifyActionCallback"><span class="type">NotifyActionCallback</span></a>. This
@@ -296,9 +299,9 @@
</div>
<hr>
<div class="refsect2" lang="en">
-<a name="id2563041"></a><h3>
+<a name="id2568574"></a><h3>
<a name="notify-notification-new"></a>notify_notification_new ()</h3>
-<a class="indexterm" name="id2563051"></a><pre class="programlisting"><a href="NotifyNotification.html" title="NotifyNotification">NotifyNotification</a>* notify_notification_new (const gchar *summary,
+<a class="indexterm" name="id2568585"></a><pre class="programlisting"><a href="NotifyNotification.html" title="NotifyNotification">NotifyNotification</a>* notify_notification_new (const gchar *summary,
const gchar *body,
const gchar *icon,
GtkWidget *attach);</pre>
@@ -346,9 +349,9 @@
</div>
<hr>
<div class="refsect2" lang="en">
-<a name="id2563178"></a><h3>
+<a name="id2568726"></a><h3>
<a name="notify-notification-new-with-status-icon"></a>notify_notification_new_with_status_icon ()</h3>
-<a class="indexterm" name="id2563192"></a><pre class="programlisting"><a href="NotifyNotification.html" title="NotifyNotification">NotifyNotification</a>* notify_notification_new_with_status_icon
+<a class="indexterm" name="id2568741"></a><pre class="programlisting"><a href="NotifyNotification.html" title="NotifyNotification">NotifyNotification</a>* notify_notification_new_with_status_icon
(const gchar *summary,
const gchar *body,
const gchar *icon,
@@ -401,9 +404,9 @@
</div>
<hr>
<div class="refsect2" lang="en">
-<a name="id2563341"></a><h3>
+<a name="id2568909"></a><h3>
<a name="notify-notification-update"></a>notify_notification_update ()</h3>
-<a class="indexterm" name="id2563352"></a><pre class="programlisting">gboolean notify_notification_update (<a href="NotifyNotification.html" title="NotifyNotification">NotifyNotification</a> *notification,
+<a class="indexterm" name="id2568921"></a><pre class="programlisting">gboolean notify_notification_update (<a href="NotifyNotification.html" title="NotifyNotification">NotifyNotification</a> *notification,
const gchar *summary,
const gchar *body,
const gchar *icon);</pre>
@@ -452,9 +455,9 @@
</div>
<hr>
<div class="refsect2" lang="en">
-<a name="id2563485"></a><h3>
+<a name="id2569066"></a><h3>
<a name="notify-notification-attach-to-widget"></a>notify_notification_attach_to_widget ()</h3>
-<a class="indexterm" name="id2563498"></a><pre class="programlisting">void notify_notification_attach_to_widget
+<a class="indexterm" name="id2569080"></a><pre class="programlisting">void notify_notification_attach_to_widget
(<a href="NotifyNotification.html" title="NotifyNotification">NotifyNotification</a> *notification,
GtkWidget *attach);</pre>
<p>
@@ -484,9 +487,9 @@
</div>
<hr>
<div class="refsect2" lang="en">
-<a name="id2563587"></a><h3>
+<a name="id2569180"></a><h3>
<a name="notify-notification-attach-to-status-icon"></a>notify_notification_attach_to_status_icon ()</h3>
-<a class="indexterm" name="id2563603"></a><pre class="programlisting">void notify_notification_attach_to_status_icon
+<a class="indexterm" name="id2569197"></a><pre class="programlisting">void notify_notification_attach_to_status_icon
(<a href="NotifyNotification.html" title="NotifyNotification">NotifyNotification</a> *notification,
GtkStatusIcon *status_icon);</pre>
<p>
@@ -518,9 +521,9 @@
</div>
<hr>
<div class="refsect2" lang="en">
-<a name="id2563708"></a><h3>
+<a name="id2569316"></a><h3>
<a name="notify-notification-set-geometry-hints"></a>notify_notification_set_geometry_hints ()</h3>
-<a class="indexterm" name="id2563723"></a><pre class="programlisting">void notify_notification_set_geometry_hints
+<a class="indexterm" name="id2569332"></a><pre class="programlisting">void notify_notification_set_geometry_hints
(<a href="NotifyNotification.html" title="NotifyNotification">NotifyNotification</a> *notification,
GdkScreen *screen,
gint x,
@@ -566,9 +569,9 @@
</div>
<hr>
<div class="refsect2" lang="en">
-<a name="id2563841"></a><h3>
+<a name="id2569435"></a><h3>
<a name="notify-notification-show"></a>notify_notification_show ()</h3>
-<a class="indexterm" name="id2563852"></a><pre class="programlisting">gboolean notify_notification_show (<a href="NotifyNotification.html" title="NotifyNotification">NotifyNotification</a> *notification,
+<a class="indexterm" name="id2569445"></a><pre class="programlisting">gboolean notify_notification_show (<a href="NotifyNotification.html" title="NotifyNotification">NotifyNotification</a> *notification,
GError **error);</pre>
<p>
Tells the notification server to display the notification on the screen.</p>
@@ -602,9 +605,9 @@
</div>
<hr>
<div class="refsect2" lang="en">
-<a name="id2563949"></a><h3>
+<a name="id2569542"></a><h3>
<a name="notify-notification-set-timeout"></a>notify_notification_set_timeout ()</h3>
-<a class="indexterm" name="id2563961"></a><pre class="programlisting">void notify_notification_set_timeout (<a href="NotifyNotification.html" title="NotifyNotification">NotifyNotification</a> *notification,
+<a class="indexterm" name="id2569554"></a><pre class="programlisting">void notify_notification_set_timeout (<a href="NotifyNotification.html" title="NotifyNotification">NotifyNotification</a> *notification,
gint timeout);</pre>
<p>
Sets the timeout of the notification. To set the default time, pass
@@ -633,9 +636,9 @@
</div>
<hr>
<div class="refsect2" lang="en">
-<a name="id2564049"></a><h3>
+<a name="id2569642"></a><h3>
<a name="notify-notification-set-category"></a>notify_notification_set_category ()</h3>
-<a class="indexterm" name="id2564062"></a><pre class="programlisting">void notify_notification_set_category
+<a class="indexterm" name="id2569655"></a><pre class="programlisting">void notify_notification_set_category
(<a href="NotifyNotification.html" title="NotifyNotification">NotifyNotification</a> *notification,
const char *category);</pre>
<p>
@@ -664,9 +667,9 @@
</div>
<hr>
<div class="refsect2" lang="en">
-<a name="id2564128"></a><h3>
+<a name="id2569722"></a><h3>
<a name="notify-notification-set-urgency"></a>notify_notification_set_urgency ()</h3>
-<a class="indexterm" name="id2564141"></a><pre class="programlisting">void notify_notification_set_urgency (<a href="NotifyNotification.html" title="NotifyNotification">NotifyNotification</a> *notification,
+<a class="indexterm" name="id2569734"></a><pre class="programlisting">void notify_notification_set_urgency (<a href="NotifyNotification.html" title="NotifyNotification">NotifyNotification</a> *notification,
<a href="NotifyNotification.html#NotifyUrgency">NotifyUrgency</a> urgency);</pre>
<p>
Sets the urgency level of this notification.
@@ -696,9 +699,9 @@
</div>
<hr>
<div class="refsect2" lang="en">
-<a name="id2564214"></a><h3>
+<a name="id2569807"></a><h3>
<a name="notify-notification-set-icon-from-pixbuf"></a>notify_notification_set_icon_from_pixbuf ()</h3>
-<a class="indexterm" name="id2564226"></a><pre class="programlisting">void notify_notification_set_icon_from_pixbuf
+<a class="indexterm" name="id2569820"></a><pre class="programlisting">void notify_notification_set_icon_from_pixbuf
(<a href="NotifyNotification.html" title="NotifyNotification">NotifyNotification</a> *notification,
GdkPixbuf *icon);</pre>
<p>
@@ -730,9 +733,9 @@
</div>
<hr>
<div class="refsect2" lang="en">
-<a name="id2564303"></a><h3>
+<a name="id2569896"></a><h3>
<a name="notify-notification-set-hint-int32"></a>notify_notification_set_hint_int32 ()</h3>
-<a class="indexterm" name="id2564316"></a><pre class="programlisting">void notify_notification_set_hint_int32
+<a class="indexterm" name="id2569909"></a><pre class="programlisting">void notify_notification_set_hint_int32
(<a href="NotifyNotification.html" title="NotifyNotification">NotifyNotification</a> *notification,
const gchar *key,
gint value);</pre>
@@ -767,9 +770,9 @@
</div>
<hr>
<div class="refsect2" lang="en">
-<a name="id2564399"></a><h3>
+<a name="id2569992"></a><h3>
<a name="notify-notification-set-hint-double"></a>notify_notification_set_hint_double ()</h3>
-<a class="indexterm" name="id2564412"></a><pre class="programlisting">void notify_notification_set_hint_double
+<a class="indexterm" name="id2570006"></a><pre class="programlisting">void notify_notification_set_hint_double
(<a href="NotifyNotification.html" title="NotifyNotification">NotifyNotification</a> *notification,
const gchar *key,
gdouble value);</pre>
@@ -804,9 +807,9 @@
</div>
<hr>
<div class="refsect2" lang="en">
-<a name="id2564496"></a><h3>
+<a name="id2570089"></a><h3>
<a name="notify-notification-set-hint-string"></a>notify_notification_set_hint_string ()</h3>
-<a class="indexterm" name="id2564509"></a><pre class="programlisting">void notify_notification_set_hint_string
+<a class="indexterm" name="id2570102"></a><pre class="programlisting">void notify_notification_set_hint_string
(<a href="NotifyNotification.html" title="NotifyNotification">NotifyNotification</a> *notification,
const gchar *key,
const gchar *value);</pre>
@@ -841,9 +844,9 @@
</div>
<hr>
<div class="refsect2" lang="en">
-<a name="id2564592"></a><h3>
+<a name="id2570185"></a><h3>
<a name="notify-notification-set-hint-byte"></a>notify_notification_set_hint_byte ()</h3>
-<a class="indexterm" name="id2564605"></a><pre class="programlisting">void notify_notification_set_hint_byte
+<a class="indexterm" name="id2570198"></a><pre class="programlisting">void notify_notification_set_hint_byte
(<a href="NotifyNotification.html" title="NotifyNotification">NotifyNotification</a> *notification,
const gchar *key,
guchar value);</pre>
@@ -878,9 +881,9 @@
</div>
<hr>
<div class="refsect2" lang="en">
-<a name="id2564688"></a><h3>
+<a name="id2570282"></a><h3>
<a name="notify-notification-set-hint-byte-array"></a>notify_notification_set_hint_byte_array ()</h3>
-<a class="indexterm" name="id2564701"></a><pre class="programlisting">void notify_notification_set_hint_byte_array
+<a class="indexterm" name="id2570294"></a><pre class="programlisting">void notify_notification_set_hint_byte_array
(<a href="NotifyNotification.html" title="NotifyNotification">NotifyNotification</a> *notification,
const gchar *key,
const guchar *value,
@@ -923,9 +926,9 @@
</div>
<hr>
<div class="refsect2" lang="en">
-<a name="id2564816"></a><h3>
+<a name="id2570409"></a><h3>
<a name="notify-notification-clear-hints"></a>notify_notification_clear_hints ()</h3>
-<a class="indexterm" name="id2564828"></a><pre class="programlisting">void notify_notification_clear_hints (<a href="NotifyNotification.html" title="NotifyNotification">NotifyNotification</a> *notification);</pre>
+<a class="indexterm" name="id2570421"></a><pre class="programlisting">void notify_notification_clear_hints (<a href="NotifyNotification.html" title="NotifyNotification">NotifyNotification</a> *notification);</pre>
<p>
Clears all hints from the notification.</p>
<p>
@@ -943,9 +946,9 @@
</div>
<hr>
<div class="refsect2" lang="en">
-<a name="id2564873"></a><h3>
+<a name="id2570466"></a><h3>
<a name="notify-notification-add-action"></a>notify_notification_add_action ()</h3>
-<a class="indexterm" name="id2564886"></a><pre class="programlisting">void notify_notification_add_action (<a href="NotifyNotification.html" title="NotifyNotification">NotifyNotification</a> *notification,
+<a class="indexterm" name="id2570479"></a><pre class="programlisting">void notify_notification_add_action (<a href="NotifyNotification.html" title="NotifyNotification">NotifyNotification</a> *notification,
const char *action,
const char *label,
<a href="NotifyNotification.html#NotifyActionCallback">NotifyActionCallback</a> callback,
@@ -1003,9 +1006,9 @@
</div>
<hr>
<div class="refsect2" lang="en">
-<a name="id2565047"></a><h3>
+<a name="id2570640"></a><h3>
<a name="notify-notification-clear-actions"></a>notify_notification_clear_actions ()</h3>
-<a class="indexterm" name="id2565060"></a><pre class="programlisting">void notify_notification_clear_actions
+<a class="indexterm" name="id2570653"></a><pre class="programlisting">void notify_notification_clear_actions
(<a href="NotifyNotification.html" title="NotifyNotification">NotifyNotification</a> *notification);</pre>
<p>
Clears all actions from the notification.</p>
@@ -1024,9 +1027,9 @@
</div>
<hr>
<div class="refsect2" lang="en">
-<a name="id2565105"></a><h3>
+<a name="id2570698"></a><h3>
<a name="notify-notification-close"></a>notify_notification_close ()</h3>
-<a class="indexterm" name="id2565116"></a><pre class="programlisting">gboolean notify_notification_close (<a href="NotifyNotification.html" title="NotifyNotification">NotifyNotification</a> *notification,
+<a class="indexterm" name="id2570710"></a><pre class="programlisting">gboolean notify_notification_close (<a href="NotifyNotification.html" title="NotifyNotification">NotifyNotification</a> *notification,
GError **error);</pre>
<p>
Tells the notification server to hide the notification on the screen.</p>
@@ -1060,44 +1063,51 @@
</div>
</div>
<div class="refsect1" lang="en">
-<a name="property_details"></a><h2>Property Details</h2>
+<a name="id2570808"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
-<a name="id2565224"></a><h3>
+<a name="id2570817"></a><h3>
<a name="NotifyNotification--attach-widget"></a>The "<code class="literal">attach-widget</code>" property</h3>
-<a class="indexterm" name="id2565238"></a><pre class="programlisting"> "attach-widget" GtkWidget : Read / Write / Construct</pre>
+<a class="indexterm" name="id2570831"></a><pre class="programlisting"> "attach-widget" GtkWidget : Read / Write / Construct</pre>
<p>The widget to attach the notification to.</p>
</div>
<hr>
<div class="refsect2" lang="en">
-<a name="id2565259"></a><h3>
+<a name="id2570852"></a><h3>
<a name="NotifyNotification--body"></a>The "<code class="literal">body</code>" property</h3>
-<a class="indexterm" name="id2565271"></a><pre class="programlisting"> "body" gchararray : Read / Write / Construct</pre>
+<a class="indexterm" name="id2570864"></a><pre class="programlisting"> "body" gchararray : Read / Write / Construct</pre>
<p>The message body text.</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2" lang="en">
-<a name="id2565294"></a><h3>
+<a name="id2570887"></a><h3>
<a name="NotifyNotification--icon-name"></a>The "<code class="literal">icon-name</code>" property</h3>
-<a class="indexterm" name="id2565308"></a><pre class="programlisting"> "icon-name" gchararray : Read / Write / Construct</pre>
+<a class="indexterm" name="id2570902"></a><pre class="programlisting"> "icon-name" gchararray : Read / Write / Construct</pre>
<p>The icon filename or icon theme-compliant name.</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2" lang="en">
-<a name="id2565332"></a><h3>
+<a name="id2570925"></a><h3>
+<a name="NotifyNotification--status-icon"></a>The "<code class="literal">status-icon</code>" property</h3>
+<a class="indexterm" name="id2570940"></a><pre class="programlisting"> "status-icon" GtkStatusIcon : Read / Write / Construct</pre>
+<p>The status icon to attach the notification to.</p>
+</div>
+<hr>
+<div class="refsect2" lang="en">
+<a name="id2570960"></a><h3>
<a name="NotifyNotification--summary"></a>The "<code class="literal">summary</code>" property</h3>
-<a class="indexterm" name="id2565345"></a><pre class="programlisting"> "summary" gchararray : Read / Write / Construct</pre>
+<a class="indexterm" name="id2570973"></a><pre class="programlisting"> "summary" gchararray : Read / Write / Construct</pre>
<p>The summary text.</p>
<p>Default value: NULL</p>
</div>
</div>
<div class="refsect1" lang="en">
-<a name="signals"></a><h2>Signal Details</h2>
+<a name="id2570997"></a><h2>Signal Details</h2>
<div class="refsect2" lang="en">
-<a name="id2565380"></a><h3>
+<a name="id2571006"></a><h3>
<a name="NotifyNotification-closed"></a>The "closed" signal</h3>
-<a class="indexterm" name="id2565390"></a><pre class="programlisting">void user_function (<a href="NotifyNotification.html" title="NotifyNotification">NotifyNotification</a> *notification,
+<a class="indexterm" name="id2571013"></a><pre class="programlisting">void user_function (<a href="NotifyNotification.html" title="NotifyNotification">NotifyNotification</a> *notification,
gpointer user_data) : Run first</pre>
<p>
Emitted when the notification is closed.</p>
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libnotify-0.4.2/docs/reference/tmpl/notification.sgml new/libnotify-0.4.4/docs/reference/tmpl/notification.sgml
--- old/libnotify-0.4.2/docs/reference/tmpl/notification.sgml 2006-06-18 04:18:39.000000000 +0200
+++ new/libnotify-0.4.4/docs/reference/tmpl/notification.sgml 2007-02-28 08:13:07.000000000 +0100
@@ -66,6 +66,11 @@
</para>
+<!-- ##### ARG NotifyNotification:status-icon ##### -->
+<para>
+
+</para>
+
<!-- ##### ARG NotifyNotification:summary ##### -->
<para>
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libnotify-0.4.2/docs/reference/xml/notification.xml new/libnotify-0.4.4/docs/reference/xml/notification.xml
--- old/libnotify-0.4.2/docs/reference/xml/notification.xml 2006-06-18 04:18:39.000000000 +0200
+++ new/libnotify-0.4.4/docs/reference/xml/notification.xml 2007-02-28 08:13:07.000000000 +0100
@@ -3,7 +3,7 @@
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
<refentry id="NotifyNotification">
<refmeta>
-<refentrytitle id="top_of_page">NotifyNotification</refentrytitle>
+<refentrytitle role="top_of_page">NotifyNotification</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBNOTIFY Library</refmiscinfo>
</refmeta>
@@ -14,8 +14,8 @@
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>
-<refsynopsisdiv id="synopsis">
-<title id="synopsis.title">Synopsis</title>
+<refsynopsisdiv role="synopsis">
+<title role="synopsis.title">Synopsis</title>
<synopsis>
@@ -25,9 +25,9 @@
#define <link linkend="NOTIFY-EXPIRES-NEVER:CAPS">NOTIFY_EXPIRES_NEVER</link>
<link linkend="NotifyNotification-struct">NotifyNotification</link>;
enum <link linkend="NotifyUrgency">NotifyUrgency</link>;
-<link linkend="void">void</link> (<link linkend="NotifyActionCallback">*NotifyActionCallback</link>) (<link linkend="NotifyNotification">NotifyNotification</link>*,
- <link linkend="gchar">gchar</link>*,
- <link linkend="gpointer">gpointer</link>);
+<link linkend="void">void</link> (<link linkend="NotifyActionCallback">*NotifyActionCallback</link>) (<link linkend="NotifyNotification">NotifyNotification</link> *,
+ <link linkend="gchar">gchar</link> *,
+ <link linkend="gpointer">gpointer</link> );
#define <link linkend="NOTIFY-ACTION-CALLBACK:CAPS">NOTIFY_ACTION_CALLBACK</link> (func)
<link linkend="NotifyNotification">NotifyNotification</link>* <link linkend="notify-notification-new">notify_notification_new</link> (const <link linkend="gchar">gchar</link> *summary,
const <link linkend="gchar">gchar</link> *body,
@@ -101,8 +101,8 @@
</synopsis>
</refsynopsisdiv>
-<refsect1 id="object_hierarchy">
-<title id="object_hierarchy.title">Object Hierarchy</title>
+<refsect1 role="object_hierarchy">
+<title role="object_hierarchy.title">Object Hierarchy</title>
<synopsis>
<link linkend="GObject">GObject</link>
@@ -115,19 +115,20 @@
-<refsect1 id="properties">
-<title id="properties.title">Properties</title>
+<refsect1 role="properties">
+<title role="properties.title">Properties</title>
<synopsis>
"<link linkend="NotifyNotification--attach-widget">attach-widget</link>" <link linkend="GtkWidget">GtkWidget</link> : Read / Write / Construct
"<link linkend="NotifyNotification--body">body</link>" <link linkend="gchararray">gchararray</link> : Read / Write / Construct
"<link linkend="NotifyNotification--icon-name">icon-name</link>" <link linkend="gchararray">gchararray</link> : Read / Write / Construct
+ "<link linkend="NotifyNotification--status-icon">status-icon</link>" <link linkend="GtkStatusIcon">GtkStatusIcon</link> : Read / Write / Construct
"<link linkend="NotifyNotification--summary">summary</link>" <link linkend="gchararray">gchararray</link> : Read / Write / Construct
</synopsis>
</refsect1>
-<refsect1 id="signal_proto">
-<title id="signal_proto.title">Signals</title>
+<refsect1 role="signal_proto">
+<title role="signal_proto.title">Signals</title>
<synopsis>
"<link linkend="NotifyNotification-closed">closed</link>" <link linkend="void">void</link> user_function (<link linkend="NotifyNotification">NotifyNotification</link> *notification,
@@ -136,8 +137,8 @@
</refsect1>
-<refsect1 id="desc">
-<title id="desc.title">Description</title>
+<refsect1 role="desc">
+<title role="desc.title">Description</title>
<para>
<link linkend="NotifyNotification"><type>NotifyNotification</type></link> represents a passive pop-up notification. It can
contain summary text, body text, and an icon, as well as hints specifying
@@ -148,8 +149,8 @@
</para>
</refsect1>
-<refsect1 id="details">
-<title id="details.title">Details</title>
+<refsect1 role="details">
+<title role="details.title">Details</title>
<refsect2>
<title><anchor id="NOTIFY-EXPIRES-DEFAULT:CAPS" role="macro"/>NOTIFY_EXPIRES_DEFAULT</title>
<indexterm><primary>NOTIFY_EXPIRES_DEFAULT</primary></indexterm><programlisting>#define NOTIFY_EXPIRES_DEFAULT -1
@@ -207,9 +208,9 @@
</variablelist></refsect2>
<refsect2>
<title><anchor id="NotifyActionCallback" role="function"/>NotifyActionCallback ()</title>
-<indexterm><primary>NotifyActionCallback</primary></indexterm><programlisting><link linkend="void">void</link> (*NotifyActionCallback) (<link linkend="NotifyNotification">NotifyNotification</link>*,
- <link linkend="gchar">gchar</link>*,
- <link linkend="gpointer">gpointer</link>);</programlisting>
+<indexterm><primary>NotifyActionCallback</primary></indexterm><programlisting><link linkend="void">void</link> (*NotifyActionCallback) (<link linkend="NotifyNotification">NotifyNotification</link> *,
+ <link linkend="gchar">gchar</link> *,
+ <link linkend="gpointer">gpointer</link> );</programlisting>
<para>
An action callback function.
</para><variablelist role="params">
@@ -678,8 +679,8 @@
</variablelist></refsect2>
</refsect1>
-<refsect1 id="property_details">
-<title id="property_details.title">Property Details</title>
+<refsect1 role="property_details">
+<title role="property_details.title">Property Details</title>
<refsect2><title><anchor id="NotifyNotification--attach-widget"/>The "<literal>attach-widget</literal>" property</title>
<indexterm><primary>NotifyNotification:attach-widget</primary></indexterm><programlisting> "attach-widget" <link linkend="GtkWidget">GtkWidget</link> : Read / Write / Construct</programlisting>
<para>The widget to attach the notification to.</para></refsect2>
@@ -691,6 +692,9 @@
<indexterm><primary>NotifyNotification:icon-name</primary></indexterm><programlisting> "icon-name" <link linkend="gchararray">gchararray</link> : Read / Write / Construct</programlisting>
<para>The icon filename or icon theme-compliant name.</para><para>Default value: NULL</para>
</refsect2>
+<refsect2><title><anchor id="NotifyNotification--status-icon"/>The "<literal>status-icon</literal>" property</title>
+<indexterm><primary>NotifyNotification:status-icon</primary></indexterm><programlisting> "status-icon" <link linkend="GtkStatusIcon">GtkStatusIcon</link> : Read / Write / Construct</programlisting>
+<para>The status icon to attach the notification to.</para></refsect2>
<refsect2><title><anchor id="NotifyNotification--summary"/>The "<literal>summary</literal>" property</title>
<indexterm><primary>NotifyNotification:summary</primary></indexterm><programlisting> "summary" <link linkend="gchararray">gchararray</link> : Read / Write / Construct</programlisting>
<para>The summary text.</para><para>Default value: NULL</para>
@@ -698,8 +702,8 @@
</refsect1>
-<refsect1 id="signals">
-<title id="signals.title">Signal Details</title>
+<refsect1 role="signals">
+<title role="signals.title">Signal Details</title>
<refsect2><title><anchor id="NotifyNotification-closed"/>The "closed" signal</title>
<indexterm><primary>NotifyNotification::closed</primary></indexterm><programlisting><link linkend="void">void</link> user_function (<link linkend="NotifyNotification">NotifyNotification</link> *notification,
<link linkend="gpointer">gpointer</link> user_data) : Run first</programlisting>
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libnotify-0.4.2/docs/reference/xml/notify.xml new/libnotify-0.4.4/docs/reference/xml/notify.xml
--- old/libnotify-0.4.2/docs/reference/xml/notify.xml 2006-06-18 04:18:39.000000000 +0200
+++ new/libnotify-0.4.4/docs/reference/xml/notify.xml 2007-02-28 08:13:07.000000000 +0100
@@ -3,7 +3,7 @@
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
<refentry id="libnotify-notify">
<refmeta>
-<refentrytitle id="top_of_page">notify</refentrytitle>
+<refentrytitle role="top_of_page">notify</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBNOTIFY Library</refmiscinfo>
</refmeta>
@@ -14,8 +14,8 @@
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>
-<refsynopsisdiv id="synopsis">
-<title id="synopsis.title">Synopsis</title>
+<refsynopsisdiv role="synopsis">
+<title role="synopsis.title">Synopsis</title>
<synopsis>
@@ -41,15 +41,15 @@
-<refsect1 id="desc">
-<title id="desc.title">Description</title>
+<refsect1 role="desc">
+<title role="desc.title">Description</title>
<para>
</para>
</refsect1>
-<refsect1 id="details">
-<title id="details.title">Details</title>
+<refsect1 role="details">
+<title role="details.title">Details</title>
<refsect2>
<title><anchor id="notify-init" role="function"/>notify_init ()</title>
<indexterm><primary>notify_init</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link> notify_init (const <link linkend="char">char</link> *app_name);</programlisting>
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libnotify-0.4.2/gtk-doc.make new/libnotify-0.4.4/gtk-doc.make
--- old/libnotify-0.4.2/gtk-doc.make 2006-04-15 01:51:14.000000000 +0200
+++ new/libnotify-0.4.4/gtk-doc.make 2006-08-17 14:59:55.000000000 +0200
@@ -42,6 +42,11 @@
if ENABLE_GTK_DOC
all-local: html-build.stamp
+else
+all-local:
+endif
+
+docs: html-build.stamp
#### scan ####
@@ -76,7 +81,7 @@
#### xml ####
-sgml-build.stamp: tmpl.stamp $(CFILE_GLOB) $(srcdir)/tmpl/*.sgml $(expand_content_files)
+sgml-build.stamp: tmpl.stamp $(HFILE_GLOB) $(CFILE_GLOB) $(DOC_MODULE)-sections.txt $(srcdir)/tmpl/*.sgml $(expand_content_files)
@echo 'gtk-doc: Building XML'
@-chmod -R u+w $(srcdir)
cd $(srcdir) && \
@@ -98,9 +103,6 @@
@echo 'gtk-doc: Fixing cross-references'
cd $(srcdir) && gtkdoc-fixxref --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS)
touch html-build.stamp
-else
-all-local:
-endif
##############
@@ -150,4 +152,4 @@
cp $(srcdir)/$(DOC_MODULE).types $(distdir)/$(DOC_MODULE).types; \
fi
-.PHONY : dist-hook-local
+.PHONY : dist-hook-local docs
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libnotify-0.4.2/libnotify/notification.c new/libnotify-0.4.4/libnotify/notification.c
--- old/libnotify-0.4.2/libnotify/notification.c 2006-06-15 11:14:03.000000000 +0200
+++ new/libnotify-0.4.4/libnotify/notification.c 2007-02-15 11:42:40.000000000 +0100
@@ -502,7 +502,7 @@
const gchar *icon,
GtkStatusIcon *status_icon)
{
- g_return_val_if_fail(status_icon == NULL, NULL);
+ g_return_val_if_fail(status_icon != NULL, NULL);
g_return_val_if_fail(GTK_IS_STATUS_ICON(status_icon), NULL);
return g_object_new(NOTIFY_TYPE_NOTIFICATION,
@@ -631,7 +631,7 @@
(gpointer)&priv->status_icon);
}
- g_object_notify(G_OBJECT(notification), "attach-icon");
+ g_object_notify(G_OBJECT(notification), "status-icon");
}
#endif /* HAVE_STATUS_ICON */
@@ -674,7 +674,12 @@
NotifyNotification *notification)
{
if (id == notification->priv->id)
+ {
+ g_object_ref(G_OBJECT(notification));
g_signal_emit(notification, signals[SIGNAL_CLOSED], 0);
+ notification->priv->id = 0;
+ g_object_unref(G_OBJECT(notification));
+ }
}
static void
@@ -852,60 +857,42 @@
}
#if CHECK_DBUS_VERSION(0, 60)
-static gboolean
+static void
_gvalue_array_append_int(GValueArray *array, gint i)
{
- GValue *value = g_new0(GValue, 1);
-
- if (value == NULL)
- return FALSE;
-
- g_value_init(value, G_TYPE_INT);
- g_value_set_int(value, i);
- g_value_array_append(array, value);
+ GValue value = {0};
- return TRUE;
+ g_value_init(&value, G_TYPE_INT);
+ g_value_set_int(&value, i);
+ g_value_array_append(array, &value);
+ g_value_unset(&value);
}
-static gboolean
+static void
_gvalue_array_append_bool(GValueArray *array, gboolean b)
{
- GValue *value = g_new0(GValue, 1);
-
- if (value == NULL)
- return FALSE;
-
- g_value_init(value, G_TYPE_BOOLEAN);
- g_value_set_boolean(value, b);
- g_value_array_append(array, value);
+ GValue value = {0};
- return TRUE;
+ g_value_init(&value, G_TYPE_BOOLEAN);
+ g_value_set_boolean(&value, b);
+ g_value_array_append(array, &value);
+ g_value_unset(&value);
}
-static gboolean
+static void
_gvalue_array_append_byte_array(GValueArray *array, guchar *bytes, gsize len)
{
GArray *byte_array;
- GValue *value;
+ GValue value = {0};
byte_array = g_array_sized_new(FALSE, FALSE, sizeof(guchar), len);
-
- if (byte_array == NULL)
- return FALSE;
-
+ g_assert(byte_array != NULL);
byte_array = g_array_append_vals(byte_array, bytes, len);
- if ((value = g_new0(GValue, 1)) == NULL)
- {
- g_array_free(byte_array, TRUE);
- return FALSE;
- }
-
- g_value_init(value, dbus_g_type_get_collection("GArray", G_TYPE_CHAR));
- g_value_set_boxed_take_ownership(value, byte_array);
- g_value_array_append(array, value);
-
- return TRUE;
+ g_value_init(&value, DBUS_TYPE_G_UCHAR_ARRAY);
+ g_value_set_boxed_take_ownership(&value, byte_array);
+ g_value_array_append(array, &value);
+ g_value_unset(&value);
}
#endif /* D-BUS >= 0.60 */
@@ -961,7 +948,7 @@
value = g_new0(GValue, 1);
g_value_init(value, G_TYPE_VALUE_ARRAY);
- g_value_set_boxed(value, image_struct);
+ g_value_set_boxed_take_ownership(value, image_struct);
g_hash_table_insert(notification->priv->hints,
g_strdup("icon_data"), value);
@@ -1191,6 +1178,7 @@
pair = g_new0(CallbackPair, 1);
pair->cb = callback;
pair->user_data = user_data;
+ pair->free_func = free_func;
g_hash_table_insert(priv->action_map, g_strdup(action), pair);
if (notification->priv->has_nondefault_actions &&
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libnotify-0.4.2/libnotify/notify.c new/libnotify-0.4.4/libnotify/notify.c
--- old/libnotify-0.4.2/libnotify/notify.c 2006-06-05 03:46:07.000000000 +0200
+++ new/libnotify-0.4.4/libnotify/notify.c 2007-02-15 11:28:46.000000000 +0100
@@ -33,12 +33,6 @@
static DBusGConnection *_dbus_gconn = NULL;
static GList *_active_notifications = NULL;
-#ifdef __GNUC__
-# define format_func __attribute__((format(printf, 1, 2)))
-#else /* no format string checking with this compiler */
-# define format_func
-#endif
-
/**
* notify_init:
* @app_name: The name of the application initializing libnotify.
@@ -89,8 +83,6 @@
G_TYPE_UINT, G_TYPE_STRING,
G_TYPE_INVALID);
- g_atexit(notify_uninit);
-
_initted = TRUE;
return TRUE;
@@ -122,6 +114,9 @@
{
GList *l;
+ if (!_initted)
+ return;
+
if (_app_name != NULL)
{
g_free(_app_name);
@@ -139,6 +134,8 @@
}
}
+ g_object_unref(_proxy);
+
_initted = FALSE;
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libnotify-0.4.2/NEWS new/libnotify-0.4.4/NEWS
--- old/libnotify-0.4.2/NEWS 2006-06-18 04:17:42.000000000 +0200
+++ new/libnotify-0.4.4/NEWS 2007-02-28 06:07:27.000000000 +0100
@@ -1,3 +1,31 @@
+version 0.4.4 (27-February-2007):
+ * Fixed a bug where a notification's ID could be reset when a different
+ notification was closed. Patch by jylefort. (Bug #94)
+ * Fixed a crash when the D-BUS proxy was not being freed on notify_uninit,
+ which was problematic when used in a loadable module. (Bug #92)
+ * Fixed a crash when a signal handler for the notification's closed signal
+ caused the notification to be destroyed. (Bug #116)
+ * Fixed memory leaks when creating notifications. (Bug #112)
+ * Fixed potential memory leaks where the function passed to
+ notify_notification_add_action to free the user data was not being
+ called. (Bug #119)
+
+version 0.4.3 (8-October-2006):
+ * Fixed the raw image data support to send the correct array type.
+ Patch by mderezynski. (Bug #68)
+ * Fixed configure.ac to check for the required version of glib (2.6).
+ Patch by compnerd. (Bug #69)
+ * Fixed invalid notification IDs when notify_notification_show() is called
+ on a notification that had already been closed or had expired. Now,
+ the notification will receive a new ID. Patch by Ed Catmur. (Bug #78)
+ * Fixed the property change notification used when setting a GtkStatusIocn.
+ It was emitting "attach-icon" but should have been emitted "status-icon".
+ (Bug #81)
+ * Fixed an invalid assertion in notify_notification_new_with_status_icon.
+ Patch by lucasr. (Bug #85)
+ * notify_uninit is no longer called automatically at exit. Applications
+ and libraries should do this manually. Patch by berndth. (Bug #86)
+
version 0.4.2 (17-June-2006):
* Add G_BEGIN_DECLS and G_END_DECLS to notify.h, so that libnotify can
be used in C++ applications properly.
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libnotify-0.4.2/tests/Makefile.am new/libnotify-0.4.4/tests/Makefile.am
--- old/libnotify-0.4.2/tests/Makefile.am 2006-04-26 10:15:18.000000000 +0200
+++ new/libnotify-0.4.4/tests/Makefile.am 2006-11-14 08:40:26.000000000 +0100
@@ -8,6 +8,7 @@
test-basic \
test-error \
test-markup \
+ test-size-changes \
test-urgency \
test-xy \
test-xy-actions \
@@ -27,6 +28,9 @@
test_server_info_SOURCES = test-server-info.c
test_server_info_LDADD = $(common_ldflags)
+test_size_changes_SOURCES = test-size-changes.c
+test_size_changes_LDADD = $(common_ldflags)
+
test_default_action_SOURCES = test-default-action.c
test_default_action_LDADD = $(common_ldflags)
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libnotify-0.4.2/tests/test-default-action.c new/libnotify-0.4.4/tests/test-default-action.c
--- old/libnotify-0.4.2/tests/test-default-action.c 2006-01-20 11:06:42.000000000 +0100
+++ new/libnotify-0.4.4/tests/test-default-action.c 2006-11-10 01:20:55.000000000 +0100
@@ -37,6 +37,7 @@
static void callback(NotifyNotification *n, const char *action, void *user_data)
{
+ printf("callback\n");
assert (action != NULL);
assert (strcmp ("default", action) == 0);
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libnotify-0.4.2/tests/test-image.c new/libnotify-0.4.4/tests/test-image.c
--- old/libnotify-0.4.2/tests/test-image.c 2006-02-04 10:48:29.000000000 +0100
+++ new/libnotify-0.4.4/tests/test-image.c 2007-02-15 10:58:29.000000000 +0100
@@ -58,7 +58,7 @@
/* Stock icon */
n = notify_notification_new("Icon Test", "Testing stock icon",
- "stock_samples", NULL);
+ "appointment-new", NULL);
if (!notify_notification_show(n, NULL))
{
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libnotify-0.4.2/tests/test-size-changes.c new/libnotify-0.4.4/tests/test-size-changes.c
--- old/libnotify-0.4.2/tests/test-size-changes.c 1970-01-01 01:00:00.000000000 +0100
+++ new/libnotify-0.4.4/tests/test-size-changes.c 2006-11-14 08:41:08.000000000 +0100
@@ -0,0 +1,84 @@
+/*
+ * @file tests/test-size-changes.c Unit test: Notification size changes
+ *
+ * @Copyright (C) 2006 Christian Hammond
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+#include
+#include
+#include
+
+int
+main()
+{
+ NotifyNotification *n1, *n2, *n3;
+
+ notify_init("Size Changes");
+
+ n1 = notify_notification_new("Notification 1", "Notification number 1!",
+ NULL, NULL);
+ notify_notification_set_timeout(n1, 7000);
+
+ if (!notify_notification_show(n1, NULL))
+ {
+ fprintf(stderr, "failed to send notification\n");
+ return 1;
+ }
+
+ g_object_unref(G_OBJECT(n1));
+
+ n2 = notify_notification_new("Notification 2", "Notification number 2!",
+ NULL, NULL);
+ notify_notification_set_timeout(n2, 7000);
+
+ if (!notify_notification_show(n2, NULL))
+ {
+ fprintf(stderr, "failed to send notification\n");
+ return 1;
+ }
+
+
+ n3 = notify_notification_new("Notification 3", "Notification number 3!",
+ NULL, NULL);
+ notify_notification_set_timeout(n3, 7000);
+
+ if (!notify_notification_show(n3, NULL))
+ {
+ fprintf(stderr, "failed to send notification\n");
+ return 1;
+ }
+
+ g_object_unref(G_OBJECT(n3));
+
+ sleep(2);
+
+ notify_notification_update(n2, "Longer Notification 2",
+ "This is a much longer notification.\n"
+ "Two lines.\n"
+ "Well, okay, three.\n"
+ "Last one.",
+ NULL);
+
+ if (!notify_notification_show(n2, NULL))
+ {
+ fprintf(stderr, "failed to send notification\n");
+ return 1;
+ }
+
+ return 0;
+}
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org