Creates a new #GtkImage displaying @surface. The #GtkImage does not assume a reference to the surface; you still need to unref it if you own references. #GtkImage will add its own reference rather than adopting yours.
a #cairo_surface_t, or %NULL
Return: a new #GtkImage
ConstructionException GTK+ fails to create the object.
3.10
See Implementation
Creates a new #GtkImage displaying @surface. The #GtkImage does not assume a reference to the surface; you still need to unref it if you own references. #GtkImage will add its own reference rather than adopting yours.