mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-12 13:30:19 +00:00
Add deprecation guards for gtk_cell_renderer_get_size()
This commit is contained in:
parent
ae3be469b3
commit
743202261a
@ -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
|
||||||
|
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user