[gtk+/wip/baedert/box: 34/68] radiomenuitem: Remove GtkActivatable code



commit db0cf9d1012df15a0918982c71018eb23e5bb34c
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]