summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorChristian Dywan <christian@twotoasts.de>2009-10-07 17:43:34 +0200
committerJavier Jardón <jjardon@gnome.org>2010-05-03 01:39:49 +0200
commit025eebb49d492fa705aba7c9c3c2ce04b7b6b58f (patch)
treee5b585da625f8100e066852aac0991c74be4d46a /gtk
parent2f1a59c0f2ba82af7ccd8bdd82b7dc066e6e9c08 (diff)
downloadgtk+-025eebb49d492fa705aba7c9c3c2ce04b7b6b58f.tar.gz
Remove deprecated GtkMenuItem function
Diffstat (limited to 'gtk')
-rw-r--r--gtk/gtkmenuitem.c18
-rw-r--r--gtk/gtkmenuitem.h5
2 files changed, 0 insertions, 23 deletions
diff --git a/gtk/gtkmenuitem.c b/gtk/gtkmenuitem.c
index 8e03b99c73..76fab0d24d 100644
--- a/gtk/gtkmenuitem.c
+++ b/gtk/gtkmenuitem.c
@@ -812,24 +812,6 @@ gtk_menu_item_get_submenu (GtkMenuItem *menu_item)
return menu_item->submenu;
}
-/**
- * gtk_menu_item_remove_submenu:
- * @menu_item: a #GtkMenuItem
- *
- * Removes the widget's submenu.
- *
- * Deprecated: 2.12: gtk_menu_item_remove_submenu() is deprecated and
- * should not be used in newly written code. Use
- * gtk_menu_item_set_submenu() instead.
- **/
-void
-gtk_menu_item_remove_submenu (GtkMenuItem *menu_item)
-{
- g_return_if_fail (GTK_IS_MENU_ITEM (menu_item));
-
- gtk_menu_item_set_submenu (menu_item, NULL);
-}
-
void _gtk_menu_item_set_placement (GtkMenuItem *menu_item,
GtkSubmenuPlacement placement);
diff --git a/gtk/gtkmenuitem.h b/gtk/gtkmenuitem.h
index b8a1f1a91f..7e60087473 100644
--- a/gtk/gtkmenuitem.h
+++ b/gtk/gtkmenuitem.h
@@ -135,11 +135,6 @@ void _gtk_menu_item_popup_submenu (GtkWidget *menu_item,
gboolean with_delay);
void _gtk_menu_item_popdown_submenu (GtkWidget *menu_item);
-#ifndef GTK_DISABLE_DEPRECATED
-void gtk_menu_item_remove_submenu (GtkMenuItem *menu_item);
-#define gtk_menu_item_right_justify(menu_item) gtk_menu_item_set_right_justified ((menu_item), TRUE)
-#endif /* GTK_DISABLE_DEPRECATED */
-
G_END_DECLS
#endif /* __GTK_MENU_ITEM_H__ */