diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2020-11-28 19:19:27 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2020-11-28 19:21:24 +0000 |
commit | 60a7830ba5c772ccb8633bffcb5bdb11ea403d58 (patch) | |
tree | 87f5a220559898c264740e8ee5b3d18d608166d8 /gtk/gtkcellrenderer.h | |
parent | ac473282a27a0ba7a22c559c8155ae00f8eba147 (diff) | |
download | gtk+-ebassi/cell-renderer-get-size.tar.gz |
Remove GtkCellRendererClass.get_size()ebassi/cell-renderer-get-size
The get_size() vfuncs is deprecated in GTK3, and only used as a
fallback path for cell renderers that do not implement preferred
size virtual functions.
Diffstat (limited to 'gtk/gtkcellrenderer.h')
-rw-r--r-- | gtk/gtkcellrenderer.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/gtk/gtkcellrenderer.h b/gtk/gtkcellrenderer.h index 353ca5ac3c..6eb53587e9 100644 --- a/gtk/gtkcellrenderer.h +++ b/gtk/gtkcellrenderer.h @@ -99,7 +99,6 @@ struct _GtkCellRenderer * @get_preferred_height: Called to get a renderer’s natural height. * @get_preferred_width_for_height: Called to get a renderer’s natural width for height. * @get_aligned_area: Called to get the aligned area used by @cell inside @cell_area. - * @get_size: Called to get the width and height needed to render the cell. Deprecated: 3.0. * @snapshot: Called to snapshot the content of the #GtkCellRenderer. * @activate: Called to activate the content of the #GtkCellRenderer. * @start_editing: Called to initiate editing the content of the #GtkCellRenderer. @@ -138,13 +137,6 @@ struct _GtkCellRendererClass GtkCellRendererState flags, const GdkRectangle *cell_area, GdkRectangle *aligned_area); - void (* get_size) (GtkCellRenderer *cell, - GtkWidget *widget, - const GdkRectangle *cell_area, - int *x_offset, - int *y_offset, - int *width, - int *height); void (* snapshot) (GtkCellRenderer *cell, GtkSnapshot *snapshot, GtkWidget *widget, |