Commit 6abc52a2 authored by Matthias Clasen's avatar Matthias Clasen

Deprecate get_cell_renderers implementations

These have been superseded by gtk_cell_layout_get_cells.
Fixes bug 562335.
parent 21594f55
......@@ -690,7 +690,9 @@ gtk_cell_renderer_toggle_set_radio
#if IN_HEADER(__GTK_CELL_VIEW_H__)
#if IN_FILE(__GTK_CELL_VIEW_C__)
#ifndef GTK_DISABLE_DEPRECATED
gtk_cell_view_get_cell_renderers
#endif
gtk_cell_view_get_displayed_row
gtk_cell_view_get_model
gtk_cell_view_get_size_of_row
......@@ -4602,7 +4604,9 @@ gtk_tree_view_column_clear_attributes
gtk_tree_view_column_clicked
gtk_tree_view_column_focus_cell
gtk_tree_view_column_get_alignment
#ifndef GTK_DISABLE_DEPRECATED
gtk_tree_view_column_get_cell_renderers
#endif
gtk_tree_view_column_get_clickable
gtk_tree_view_column_get_expand
gtk_tree_view_column_get_fixed_width
......
......@@ -1053,7 +1053,9 @@ gtk_cell_view_set_background_color (GtkCellView *cell_view,
* 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)
{
......
......@@ -72,7 +72,9 @@ 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
......
......@@ -1548,6 +1548,8 @@ gtk_tree_view_column_clear (GtkTreeViewColumn *tree_column)
* in no particular order. The list must be freed with g_list_free().
*
* Return value: A list of #GtkCellRenderers
*
* Deprecated: 2.18: use gtk_cell_layout_get_cells() instead.
**/
GList *
gtk_tree_view_column_get_cell_renderers (GtkTreeViewColumn *tree_column)
......
......@@ -135,7 +135,9 @@ void gtk_tree_view_column_pack_end (GtkTreeViewCol
GtkCellRenderer *cell,
gboolean expand);
void gtk_tree_view_column_clear (GtkTreeViewColumn *tree_column);
#ifndef GTK_DISABLE_DEPRECATED
GList *gtk_tree_view_column_get_cell_renderers (GtkTreeViewColumn *tree_column);
#endif
void gtk_tree_view_column_add_attribute (GtkTreeViewColumn *tree_column,
GtkCellRenderer *cell_renderer,
const gchar *attribute,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment