forked from AuroraMiddleware/gtk
iconhelper: Remove unused _draw implementation
This commit is contained in:
parent
08355997c2
commit
4e141883e8
@ -839,24 +839,6 @@ gtk_icon_helper_new_named (const char *name,
|
||||
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
|
||||
gtk_icon_helper_snapshot (GtkIconHelper *self,
|
||||
GtkSnapshot *snapshot)
|
||||
|
@ -119,10 +119,6 @@ void _gtk_icon_helper_get_size (GtkIconHelper *self,
|
||||
gint *width_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,
|
||||
GtkSnapshot *snapshot);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user