aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-gtk
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-09-02 15:02:55 -0500
committerTed Gould <ted@canonical.com>2009-09-02 15:02:55 -0500
commit90e014164dc9e5b0b6f9cb756da914f001b255a4 (patch)
treede29935e2e55e043f62f0739a896e6e03586ab6a /libdbusmenu-gtk
parent13c8c7e819bc3489ac8c494198b08393cef6b6da (diff)
downloadlibdbusmenu-90e014164dc9e5b0b6f9cb756da914f001b255a4.tar.gz
libdbusmenu-90e014164dc9e5b0b6f9cb756da914f001b255a4.tar.bz2
libdbusmenu-90e014164dc9e5b0b6f9cb756da914f001b255a4.zip
A couple more comments.
Diffstat (limited to 'libdbusmenu-gtk')
-rw-r--r--libdbusmenu-gtk/client.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libdbusmenu-gtk/client.c b/libdbusmenu-gtk/client.c
index b615019..cbf8bc8 100644
--- a/libdbusmenu-gtk/client.c
+++ b/libdbusmenu-gtk/client.c
@@ -285,6 +285,8 @@ dbusmenu_gtkclient_menuitem_get (DbusmenuGtkClient * client, DbusmenuMenuitem *
return mi;
}
+/* The base type handler that builds a plain ol'
+ GtkMenuItem to represent, well, the GtkMenuItem */
static gboolean
new_item_normal (DbusmenuMenuitem * newitem, DbusmenuMenuitem * parent, DbusmenuClient * client)
{
@@ -304,6 +306,8 @@ new_item_normal (DbusmenuMenuitem * newitem, DbusmenuMenuitem * parent, Dbusmenu
return TRUE;
}
+/* Type handler for the seperators where it builds
+ a GtkSeparator to act as the GtkMenuItem */
static gboolean
new_item_seperator (DbusmenuMenuitem * newitem, DbusmenuMenuitem * parent, DbusmenuClient * client)
{