aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-gtk/parser.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-04-26 21:39:06 -0500
committerTed Gould <ted@gould.cx>2011-04-26 21:39:06 -0500
commit0c7ae9d686674986e1a5304dde25aa9e92010bd6 (patch)
treeabad0f39939ba8911f25e666fc2d240ae6e1413c /libdbusmenu-gtk/parser.c
parentdc52456c069c025cbbec8071eea4118d0c89214c (diff)
downloadlibdbusmenu-0c7ae9d686674986e1a5304dde25aa9e92010bd6.tar.gz
libdbusmenu-0c7ae9d686674986e1a5304dde25aa9e92010bd6.tar.bz2
libdbusmenu-0c7ae9d686674986e1a5304dde25aa9e92010bd6.zip
Dropping the serializable menu item. Not a bad idea, but we can do better.
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))
{