From 1193c30e152ab4fecac601217b5c2468019b7c3d Mon Sep 17 00:00:00 2001 From: Tristan Van Berkom Date: Fri, 26 Nov 2010 21:44:59 +0900 Subject: [PATCH] Revert "Added gtk_tree_menu_get_area()." This reverts commit d32d7c8f9c4d2bcd7c5c206c09273ce67ed20df4. --- gtk/gtktreemenu.c | 8 -------- gtk/gtktreemenu.h | 1 - 2 files changed, 9 deletions(-) diff --git a/gtk/gtktreemenu.c b/gtk/gtktreemenu.c index b8d479d8a3..7c2d9dfb8f 100644 --- a/gtk/gtktreemenu.c +++ b/gtk/gtktreemenu.c @@ -1495,14 +1495,6 @@ gtk_tree_menu_new_full (GtkCellArea *area, NULL); } -GtkCellArea * -gtk_tree_menu_get_area (GtkTreeMenu *menu) -{ - g_return_val_if_fail (GTK_IS_TREE_MENU (menu), NULL); - - return menu->priv->area; -} - void gtk_tree_menu_set_model (GtkTreeMenu *menu, GtkTreeModel *model) diff --git a/gtk/gtktreemenu.h b/gtk/gtktreemenu.h index 24523e2bd8..812c820ef7 100644 --- a/gtk/gtktreemenu.h +++ b/gtk/gtktreemenu.h @@ -79,7 +79,6 @@ GtkWidget *gtk_tree_menu_new_with_area (GtkCellArea GtkWidget *gtk_tree_menu_new_full (GtkCellArea *area, GtkTreeModel *model, GtkTreePath *root); -GtkCellArea *gtk_tree_menu_get_area (GtkTreeMenu *menu); void gtk_tree_menu_set_model (GtkTreeMenu *menu, GtkTreeModel *model); GtkTreeModel *gtk_tree_menu_get_model (GtkTreeMenu *menu);