mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-16 15:14:17 +00:00
17 lines
525 B
Plaintext
17 lines
525 B
Plaintext
|
--- gdk/gdksubsurface.c
|
||
|
+++ gdk/gdksubsurface.c
|
||
|
@@ -213,3 +213,13 @@ gdk_subsurface_get_transform (GdkSubsurface *subsurface)
|
||
|
return GDK_SUBSURFACE_GET_CLASS (subsurface)->get_transform (subsurface);
|
||
|
}
|
||
|
|
||
|
+void
|
||
|
+gdk_subsurface_get_background (GdkSubsurface *subsurface,
|
||
|
+ graphene_rect_t *background)
|
||
|
+{
|
||
|
+ g_return_if_fail (GDK_IS_SUBSURFACE (subsurface));
|
||
|
+ g_return_if_fail (background != NULL);
|
||
|
+
|
||
|
+ GDK_SUBSURFACE_GET_CLASS (subsurface)->get_background (subsurface, background);
|
||
|
+}
|
||
|
+
|