gdk_pixbuf_get_from_surface() is in libgdk, not libgdk_pixbuf

This needs to be explicitly specified since 3a67da38 relocated these methods into Gdk.Pixbuf, which is underneath an element that specified `library="Library.GdkPixbuf"`

This fixes runtime errors when calling this method (similar for gdk_pixbuf_get_from_window)
This commit is contained in:
Cameron White 2020-08-03 20:28:02 -04:00
parent efb8335e87
commit 90379c40c8

View file

@ -5687,7 +5687,7 @@
<parameter type="int" name="height" /> <parameter type="int" name="height" />
</parameters> </parameters>
</constructor> </constructor>
<constructor cname="gdk_pixbuf_get_from_surface"> <constructor cname="gdk_pixbuf_get_from_surface" library="Library.Gdk">
<parameters> <parameters>
<parameter type="cairo_surface_t*" name="surface" /> <parameter type="cairo_surface_t*" name="surface" />
<parameter type="gint" name="src_x" /> <parameter type="gint" name="src_x" />
@ -5696,7 +5696,7 @@
<parameter type="gint" name="height" /> <parameter type="gint" name="height" />
</parameters> </parameters>
</constructor> </constructor>
<constructor cname="gdk_pixbuf_get_from_window"> <constructor cname="gdk_pixbuf_get_from_window" library="Library.Gdk">
<parameters> <parameters>
<parameter type="GdkWindow*" name="window" /> <parameter type="GdkWindow*" name="window" />
<parameter type="gint" name="src_x" /> <parameter type="gint" name="src_x" />