aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-gtk/parser.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-05-03 09:26:46 -0500
committerTed Gould <ted@gould.cx>2011-05-03 09:26:46 -0500
commita4b9fc5bddae5ec02c16a5aedb3f9199bde540d7 (patch)
tree24238ae10b751c2ed8c0b18aa5680df8aa6ff5be /libdbusmenu-gtk/parser.c
parentdc52456c069c025cbbec8071eea4118d0c89214c (diff)
parent922dce4b4d45ec048600d6790e2a615be8f1deb2 (diff)
downloadlibdbusmenu-a4b9fc5bddae5ec02c16a5aedb3f9199bde540d7.tar.gz
libdbusmenu-a4b9fc5bddae5ec02c16a5aedb3f9199bde540d7.tar.bz2
libdbusmenu-a4b9fc5bddae5ec02c16a5aedb3f9199bde540d7.zip
Removing the serializable menuitem
Diffstat (limited to 'libdbusmenu-gtk/parser.c')
-rw-r--r--libdbusmenu-gtk/parser.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/libdbusmenu-gtk/parser.c b/libdbusmenu-gtk/parser.c
index 4708a64..a304511 100644
--- a/libdbusmenu-gtk/parser.c
+++ b/libdbusmenu-gtk/parser.c
@@ -28,7 +28,7 @@ License version 3 and version 2.1 along with this program. If not, see
#include "parser.h"
#include "menuitem.h"
-#include "serializablemenuitem.h"
+#include "client.h"
#define CACHED_MENUITEM "dbusmenu-gtk-parser-cached-item"
#define PARSER_DATA "dbusmenu-gtk-parser-data"
@@ -473,13 +473,6 @@ sanitize_label (GtkLabel * label)
static DbusmenuMenuitem *
construct_dbusmenu_for_widget (GtkWidget * widget)
{
- /* If it's a subclass of our serializable menu item then we can
- use its own build function */
- if (DBUSMENU_IS_GTK_SERIALIZABLE_MENU_ITEM(widget)) {
- DbusmenuGtkSerializableMenuItem * smi = DBUSMENU_GTK_SERIALIZABLE_MENU_ITEM(widget);
- return dbusmenu_gtk_serializable_menu_item_build_menuitem(smi);
- }
-
/* If it's a standard GTK Menu Item we need to do some of our own work */
if (GTK_IS_MENU_ITEM (widget))
{