[gtk+/wip/baedert/box: 208/234] radiomenuitem: Remove GtkActivatable code



commit 6de30b22471bfa135490b7f4a62eac0a298bc3c3
Author: Timm Bäder <mail baedert org>
Date:   Thu Oct 13 16:47:08 2016 +0200

    radiomenuitem: Remove GtkActivatable code

 gtk/gtkradiomenuitem.c |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)
---
diff --git a/gtk/gtkradiomenuitem.c b/gtk/gtkradiomenuitem.c
index 8e66f85..43d999a 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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]