1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
From: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri, 27 May 2022 14:00:18 +1000
Subject: wallpaper: annotate the parent window as nullalble
The C code allows for it to be NULL, let's make this in the bindings too
so we don't have to instantiate windows to test this.
Origin: upstream, 0.7, commit:28035015d89032ac92181bc351ea74a57a6ae18a
---
libportal/wallpaper.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libportal/wallpaper.c b/libportal/wallpaper.c
index 65cfb08..1aa6f2e 100644
--- a/libportal/wallpaper.c
+++ b/libportal/wallpaper.c
@@ -278,7 +278,7 @@ set_wallpaper (WallpaperCall *call)
/**
* xdp_portal_set_wallpaper:
* @portal: a [class@Portal]
- * @parent: parent window information
+ * @parent: (nullable): parent window information
* @uri: the URI to use
* @flags: options for this call
* @cancellable: (nullable): optional [class@Gio.Cancellable]
|