[gtk+/gtk-2-90: 56/146] Remove deprecated GtkCellView function
- From: Javier Jardón <jjardon src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-90: 56/146] Remove deprecated GtkCellView function
- Date: Wed, 9 Dec 2009 07:39:41 +0000 (UTC)
commit 11becfdb418e578f00a3c3dfc40695d650bcb34b
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 5f8fe39..0e34958 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]