From ffe464a75f028d5efb8be49d03bd60c8dd176970 Mon Sep 17 00:00:00 2001 From: Kalle Valo Date: Wed, 10 Mar 2010 09:00:02 +0200 Subject: Fix a typo in dbusmenu_menuitem_take_children() documentation. It wasn't fully clear if the "no" was actually "now" or "not", but based on the code I assume that it should be "now". --- libdbusmenu-glib/menuitem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libdbusmenu-glib') diff --git a/libdbusmenu-glib/menuitem.c b/libdbusmenu-glib/menuitem.c index a2d2682..28d3134 100644 --- a/libdbusmenu-glib/menuitem.c +++ b/libdbusmenu-glib/menuitem.c @@ -459,7 +459,7 @@ take_children_signal (gpointer data, gpointer user_data) While the name sounds devious that's exactly what this function does. It takes the list of children from the @mi and clears the - internal list. The calling function is no in charge of the ref's + internal list. The calling function is now in charge of the ref's on the children it has taken. A lot of responsibility involved in taking children. -- cgit v1.2.3 From 6eef17fbf0844823f52d6971c5f597e366d6f24e Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Thu, 18 Mar 2010 00:01:40 -0500 Subject: Adding a define to provide a blank icon in the icon name --- libdbusmenu-glib/menuitem.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libdbusmenu-glib') diff --git a/libdbusmenu-glib/menuitem.h b/libdbusmenu-glib/menuitem.h index 1382335..04fd911 100644 --- a/libdbusmenu-glib/menuitem.h +++ b/libdbusmenu-glib/menuitem.h @@ -66,6 +66,8 @@ G_BEGIN_DECLS #define DBUSMENU_MENUITEM_TOGGLE_STATE_CHECKED 1 #define DBUSMENU_MENUITEM_TOGGLE_STATE_UNKNOWN -1 +#define DBUSMENU_MENUITEM_ICON_NAME_BLANK "blank-icon" + /** DbusmenuMenuitem: -- cgit v1.2.3