Drop gtk_css_image_surface_new_for_pixbuf

It is unused private api.
This commit is contained in:
Matthias Clasen 2017-11-29 19:47:57 -05:00
parent 8cdaaffd42
commit 2ac0df0b75
2 changed files with 0 additions and 17 deletions

View File

@ -112,19 +112,3 @@ gtk_css_image_surface_new (GdkTexture *texture)
return image;
}
GtkCssImage *
gtk_css_image_surface_new_for_pixbuf (GdkPixbuf *pixbuf)
{
GtkCssImage *image;
GdkTexture *texture;
g_return_val_if_fail (GDK_IS_PIXBUF (pixbuf), NULL);
texture = gdk_texture_new_for_pixbuf (pixbuf);
image = gtk_css_image_surface_new (texture);
g_object_unref (texture);
return image;
}

View File

@ -49,7 +49,6 @@ struct _GtkCssImageSurfaceClass
GType _gtk_css_image_surface_get_type (void) G_GNUC_CONST;
GtkCssImage * gtk_css_image_surface_new (GdkTexture *texture);
GtkCssImage * gtk_css_image_surface_new_for_pixbuf (GdkPixbuf *pixbuf);
G_END_DECLS