Add deprecation guards for gtk_cell_renderer_get_size()

This commit is contained in:
Javier Jardón 2010-09-19 17:46:13 +02:00
parent ae3be469b3
commit 743202261a
2 changed files with 4 additions and 0 deletions

View File

@ -589,7 +589,9 @@ gtk_cell_renderer_get_alignment
gtk_cell_renderer_get_fixed_size
gtk_cell_renderer_get_padding
gtk_cell_renderer_get_sensitive
#ifndef GTK_DISABLE_DEPRECATED
gtk_cell_renderer_get_size
#endif
gtk_cell_renderer_get_type G_GNUC_CONST
gtk_cell_renderer_get_visible
gtk_cell_renderer_render

View File

@ -111,6 +111,7 @@ struct _GtkCellRendererClass
GType gtk_cell_renderer_get_type (void) G_GNUC_CONST;
#ifndef GTK_DISABLE_DEPRECATED
void gtk_cell_renderer_get_size (GtkCellRenderer *cell,
GtkWidget *widget,
const GdkRectangle *cell_area,
@ -118,6 +119,7 @@ void gtk_cell_renderer_get_size (GtkCellRenderer *cell,
gint *y_offset,
gint *width,
gint *height);
#endif
void gtk_cell_renderer_render (GtkCellRenderer *cell,
GdkWindow *window,
GtkWidget *widget,