forked from AuroraMiddleware/gtk
Remove deprecated GtkCellRenderer function
This commit is contained in:
parent
c1182debd0
commit
0a6557d721
@ -591,9 +591,6 @@ gtk_cell_layout_set_cell_data_func
|
||||
#if IN_HEADER(__GTK_CELL_RENDERER_H__)
|
||||
#if IN_FILE(__GTK_CELL_RENDERER_C__)
|
||||
gtk_cell_renderer_activate
|
||||
#ifndef GTK_DISABLE_DEPRECATED
|
||||
gtk_cell_renderer_editing_canceled
|
||||
#endif
|
||||
gtk_cell_renderer_get_alignment
|
||||
gtk_cell_renderer_get_fixed_size
|
||||
gtk_cell_renderer_get_padding
|
||||
|
@ -939,28 +939,6 @@ gtk_cell_renderer_get_sensitive (GtkCellRenderer *cell)
|
||||
return cell->sensitive;
|
||||
}
|
||||
|
||||
/**
|
||||
* gtk_cell_renderer_editing_canceled:
|
||||
* @cell: A #GtkCellRenderer
|
||||
*
|
||||
* Causes the cell renderer to emit the #GtkCellRenderer::editing-canceled
|
||||
* signal.
|
||||
*
|
||||
* This function is for use only by implementations of cell renderers that
|
||||
* need to notify the client program that an editing process was canceled
|
||||
* and the changes were not committed.
|
||||
*
|
||||
* Since: 2.4
|
||||
* Deprecated: 2.6: Use gtk_cell_renderer_stop_editing() instead
|
||||
**/
|
||||
void
|
||||
gtk_cell_renderer_editing_canceled (GtkCellRenderer *cell)
|
||||
{
|
||||
g_return_if_fail (GTK_IS_CELL_RENDERER (cell));
|
||||
|
||||
gtk_cell_renderer_stop_editing (cell, TRUE);
|
||||
}
|
||||
|
||||
/**
|
||||
* gtk_cell_renderer_stop_editing:
|
||||
* @cell: A #GtkCellRenderer
|
||||
|
@ -183,11 +183,8 @@ void gtk_cell_renderer_set_sensitive (GtkCellRenderer *cell,
|
||||
gboolean gtk_cell_renderer_get_sensitive (GtkCellRenderer *cell);
|
||||
|
||||
/* For use by cell renderer implementations only */
|
||||
#ifndef GTK_DISABLE_DEPRECATED
|
||||
void gtk_cell_renderer_editing_canceled (GtkCellRenderer *cell);
|
||||
#endif
|
||||
void gtk_cell_renderer_stop_editing (GtkCellRenderer *cell,
|
||||
gboolean canceled);
|
||||
void gtk_cell_renderer_stop_editing (GtkCellRenderer *cell,
|
||||
gboolean canceled);
|
||||
|
||||
|
||||
G_END_DECLS
|
||||
|
Loading…
Reference in New Issue
Block a user