summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2012-04-24 21:30:01 +0200
committerGravatar waker <wakeroid@gmail.com>2012-04-24 21:30:01 +0200
commit27e045ccce17bf3e005721f3efd52e26e23419f2 (patch)
tree19f29968e1f68fea4d2553d12fa50d12bf7899df /plugins
parentd997cb30404b1d6876b66f2b346852c265c38479 (diff)
gtkui: fixed main menu separators
Diffstat (limited to 'plugins')
-rw-r--r--plugins/gtkui/actions.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/plugins/gtkui/actions.c b/plugins/gtkui/actions.c
index 1cb67d49..751bdf23 100644
--- a/plugins/gtkui/actions.c
+++ b/plugins/gtkui/actions.c
@@ -41,9 +41,6 @@ on_actionitem_activate (GtkMenuItem *menuitem,
void
remove_actions (GtkWidget *widget, void *data) {
- if (GTK_IS_MENU_ITEM (widget)) {
- const char *name = gtk_menu_item_get_label (GTK_MENU_ITEM (widget));
- }
const char *name = g_object_get_data (G_OBJECT (widget), "plugaction");
if (name) {
gtk_container_remove (GTK_CONTAINER (data), widget);