From 24866c5d12f909d51d61e8861ccc65895e6d7a94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Thu, 13 Oct 2016 16:47:08 +0200 Subject: [PATCH] radiomenuitem: Remove GtkActivatable code --- gtk/gtkradiomenuitem.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/gtk/gtkradiomenuitem.c b/gtk/gtkradiomenuitem.c index 8e66f8528b..43d999a9dd 100644 --- a/gtk/gtkradiomenuitem.c +++ b/gtk/gtkradiomenuitem.c @@ -27,7 +27,6 @@ #include "gtkcheckmenuitemprivate.h" #include "gtkmarshalers.h" #include "gtkradiomenuitem.h" -#include "deprecated/gtkactivatable.h" #include "gtkprivate.h" #include "gtkintl.h" #include "a11y/gtkradiomenuitemaccessible.h" @@ -504,19 +503,10 @@ gtk_radio_menu_item_activate (GtkMenuItem *menu_item) GtkRadioMenuItemPrivate *priv = radio_menu_item->priv; GtkCheckMenuItem *check_menu_item = GTK_CHECK_MENU_ITEM (menu_item); GtkCheckMenuItem *tmp_menu_item; - GtkAction *action; GSList *tmp_list; gboolean active; gint toggled; - G_GNUC_BEGIN_IGNORE_DEPRECATIONS; - - action = gtk_activatable_get_related_action (GTK_ACTIVATABLE (menu_item)); - if (action && gtk_menu_item_get_submenu (menu_item) == NULL) - gtk_action_activate (action); - - G_GNUC_END_IGNORE_DEPRECATIONS; - toggled = FALSE; active = gtk_check_menu_item_get_active (check_menu_item);