aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog10
-rw-r--r--libdbusmenu-glib/client.c2
2 files changed, 10 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index 1c485ec..70d858f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,12 @@
-libdbusmenu (0.5.0-0ubuntu1~ppa1) oneiric; urgency=low
+libdbusmenu (0.5.0-0ubuntu2) oneiric; urgency=low
+
+ * libdbusmenu-glib/client.c
+ - id of 0 in dbusmenu_client_send_about_to_show is valid, and used in
+ appindicators like nm-applet (LP: #862989)
+
+ -- Ken VanDine <ken.vandine@canonical.com> Fri, 30 Sep 2011 10:06:19 -0400
+
+libdbusmenu (0.5.0-0ubuntu1) oneiric; urgency=low
* New upstream release.
* Protect functions against NULL results (LP: #757569, LP: #742909,
diff --git a/libdbusmenu-glib/client.c b/libdbusmenu-glib/client.c
index a7f4da5..9129db5 100644
--- a/libdbusmenu-glib/client.c
+++ b/libdbusmenu-glib/client.c
@@ -1610,7 +1610,7 @@ void
dbusmenu_client_send_about_to_show(DbusmenuClient * client, gint id, void (*cb)(gpointer data), gpointer cb_data)
{
g_return_if_fail(DBUSMENU_CLIENT(client));
- g_return_if_fail(id > 0);
+ g_return_if_fail(id >= 0);
DbusmenuClientPrivate * priv = DBUSMENU_CLIENT_GET_PRIVATE(client);
g_return_if_fail(priv != NULL);