[gtk+/gtk-2-90: 56/161] Remove deprecated GtkCellView function



commit 2ae8fa07a6be8405e7a690d8cef4ca3765e1772c
Author: Christian Dywan <christian twotoasts de>
Date:   Wed Oct 7 18:44:17 2009 +0200

    Remove deprecated GtkCellView function

 gtk/gtkcellview.c |   20 --------------------
 gtk/gtkcellview.h |    3 ---
 2 files changed, 0 insertions(+), 23 deletions(-)
---
diff --git a/gtk/gtkcellview.c b/gtk/gtkcellview.c
index fed0712..5b8ffcb 100644
--- a/gtk/gtkcellview.c
+++ b/gtk/gtkcellview.c
@@ -1064,26 +1064,6 @@ gtk_cell_view_cell_layout_get_cells (GtkCellLayout *layout)
   return g_list_reverse (retval);
 }
 
-/**
- * gtk_cell_view_get_cell_renderers:
- * @cell_view: a #GtkCellView
- *
- * Returns the cell renderers which have been added to @cell_view.
- *
- * Return value: a list of cell renderers. The list, but not the
- *   renderers has been newly allocated and should be freed with
- *   g_list_free() when no longer needed.
- *
- * Since: 2.6
- *
- * Deprecated: 2.18: use gtk_cell_layout_get_cells() instead.
- **/
-GList *
-gtk_cell_view_get_cell_renderers (GtkCellView *cell_view)
-{
-  return gtk_cell_view_cell_layout_get_cells (GTK_CELL_LAYOUT (cell_view));
-}
-
 static gboolean
 gtk_cell_view_buildable_custom_tag_start (GtkBuildable  *buildable,
 					  GtkBuilder    *builder,
diff --git a/gtk/gtkcellview.h b/gtk/gtkcellview.h
index 73de84e..3ca51e9 100644
--- a/gtk/gtkcellview.h
+++ b/gtk/gtkcellview.h
@@ -72,9 +72,6 @@ gboolean          gtk_cell_view_get_size_of_row         (GtkCellView     *cell_v
 
 void              gtk_cell_view_set_background_color    (GtkCellView     *cell_view,
                                                          const GdkColor  *color);
-#ifndef GTK_DISABLE_DEPRECATED
-GList            *gtk_cell_view_get_cell_renderers      (GtkCellView     *cell_view);
-#endif
 
 G_END_DECLS
 



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