[gtk+/combo-refactor: 39/42] Revert "Added gtk_tree_menu_get_area()."



commit c05ad9eb315bd76f2212ea012428f78e054b2267
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date:   Fri Nov 26 21:44:59 2010 +0900

    Revert "Added gtk_tree_menu_get_area()."
    
    This reverts commit d32d7c8f9c4d2bcd7c5c206c09273ce67ed20df4.

 gtk/gtktreemenu.c |    8 --------
 gtk/gtktreemenu.h |    1 -
 2 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/gtk/gtktreemenu.c b/gtk/gtktreemenu.c
index b8d479d..7c2d9df 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 24523e2..812c820 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);



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