summaryrefslogtreecommitdiff
path: root/gtk/gtkcellrenderer.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2016-12-23 11:11:52 +0100
committerBenjamin Otte <otte@redhat.com>2016-12-23 11:11:52 +0100
commita36e5ceea74fecb7b8f5f196e592a4b633ed6eb3 (patch)
tree4319cf1f56e605f70670a70a84f99ee6d22091cc /gtk/gtkcellrenderer.h
parent513a8c46af537969747f729d87fbad53ba6e6b37 (diff)
downloadgtk+-a36e5ceea74fecb7b8f5f196e592a4b633ed6eb3.tar.gz
cellrenderer: Remove render() vfunc
Make the last 2 cell renderers create the cairo node themselves.
Diffstat (limited to 'gtk/gtkcellrenderer.h')
-rw-r--r--gtk/gtkcellrenderer.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/gtk/gtkcellrenderer.h b/gtk/gtkcellrenderer.h
index 6ac40b30cb..cc71027bc4 100644
--- a/gtk/gtkcellrenderer.h
+++ b/gtk/gtkcellrenderer.h
@@ -100,7 +100,7 @@ struct _GtkCellRenderer
* @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.
- * @render: Called to render the content of the #GtkCellRenderer.
+ * @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.
* @editing_canceled: Signal gets emitted when the user cancels the process of editing a cell.
@@ -145,12 +145,6 @@ struct _GtkCellRendererClass
gint *y_offset,
gint *width,
gint *height);
- void (* render) (GtkCellRenderer *cell,
- cairo_t *cr,
- GtkWidget *widget,
- const GdkRectangle *background_area,
- const GdkRectangle *cell_area,
- GtkCellRendererState flags);
void (* snapshot) (GtkCellRenderer *cell,
GtkSnapshot *snapshot,
GtkWidget *widget,