iconhelper: Remove unused _draw implementation

This commit is contained in:
Timm Bäder 2017-02-14 14:22:25 +01:00
parent 08355997c2
commit 4e141883e8
2 changed files with 0 additions and 22 deletions

View File

@ -839,24 +839,6 @@ gtk_icon_helper_new_named (const char *name,
return GTK_CSS_GADGET (result); return GTK_CSS_GADGET (result);
} }
void
_gtk_icon_helper_draw (GtkIconHelper *self,
cairo_t *cr,
gdouble x,
gdouble y)
{
GtkCssStyle *style = gtk_css_node_get_style (gtk_css_gadget_get_node (GTK_CSS_GADGET (self)));
gtk_icon_helper_ensure_surface (self);
if (self->priv->rendered_surface != NULL)
{
gtk_css_style_render_icon_surface (style,
cr,
self->priv->rendered_surface,
x, y);
}
}
void void
gtk_icon_helper_snapshot (GtkIconHelper *self, gtk_icon_helper_snapshot (GtkIconHelper *self,
GtkSnapshot *snapshot) GtkSnapshot *snapshot)

View File

@ -119,10 +119,6 @@ void _gtk_icon_helper_get_size (GtkIconHelper *self,
gint *width_out, gint *width_out,
gint *height_out); gint *height_out);
void _gtk_icon_helper_draw (GtkIconHelper *self,
cairo_t *cr,
gdouble x,
gdouble y);
void gtk_icon_helper_snapshot (GtkIconHelper *self, void gtk_icon_helper_snapshot (GtkIconHelper *self,
GtkSnapshot *snapshot); GtkSnapshot *snapshot);