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_fixed_size
gtk_cell_renderer_get_padding gtk_cell_renderer_get_padding
gtk_cell_renderer_get_sensitive gtk_cell_renderer_get_sensitive
#ifndef GTK_DISABLE_DEPRECATED
gtk_cell_renderer_get_size gtk_cell_renderer_get_size
#endif
gtk_cell_renderer_get_type G_GNUC_CONST gtk_cell_renderer_get_type G_GNUC_CONST
gtk_cell_renderer_get_visible gtk_cell_renderer_get_visible
gtk_cell_renderer_render gtk_cell_renderer_render

View File

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