summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2021-11-28 12:45:25 +0100
committerRico Tzschichholz <ricotz@ubuntu.com>2021-11-29 13:42:33 +0100
commit554d1e882f81c1c9a4a23bba46c36aa8bb297592 (patch)
tree8722688d3c37f7260cf22271f8cc761724a337cc
parent0a82ab67dfc3f2468cad65e7d613c132c738e276 (diff)
downloadvala-554d1e882f81c1c9a4a23bba46c36aa8bb297592.tar.gz
gnome-desktop-3.0: Some parameter fixes
-rw-r--r--vapi/gnome-desktop-3.0.vapi4
-rw-r--r--vapi/metadata/GnomeDesktop-3.0.metadata5
2 files changed, 7 insertions, 2 deletions
diff --git a/vapi/gnome-desktop-3.0.vapi b/vapi/gnome-desktop-3.0.vapi
index 2ec6d97c5..43f645070 100644
--- a/vapi/gnome-desktop-3.0.vapi
+++ b/vapi/gnome-desktop-3.0.vapi
@@ -52,9 +52,9 @@ namespace Gnome {
public Gdk.Pixbuf create_thumbnail (Gnome.DesktopThumbnailFactory factory, Gdk.Screen screen, int dest_width, int dest_height);
public void draw (Gdk.Pixbuf dest);
public unowned string get_filename ();
- public bool get_image_size (Gnome.DesktopThumbnailFactory factory, int best_width, int best_height, int width, int height);
+ public bool get_image_size (Gnome.DesktopThumbnailFactory factory, int best_width, int best_height, out int width, out int height);
public GDesktop.BackgroundStyle get_placement ();
- public void get_rgba (GDesktop.BackgroundShading type, Gdk.RGBA primary, Gdk.RGBA secondary);
+ public void get_rgba (out GDesktop.BackgroundShading type, out Gdk.RGBA primary, out Gdk.RGBA secondary);
[Version (deprecated = true, deprecated_since = "3.36")]
public static Cairo.Surface get_surface_from_root (Gdk.Screen screen);
public bool has_multiple_sizes ();
diff --git a/vapi/metadata/GnomeDesktop-3.0.metadata b/vapi/metadata/GnomeDesktop-3.0.metadata
index 34fadeb07..1a11e5a05 100644
--- a/vapi/metadata/GnomeDesktop-3.0.metadata
+++ b/vapi/metadata/GnomeDesktop-3.0.metadata
@@ -1,4 +1,9 @@
BG cheader_filename="libgnome-desktop/gnome-bg.h"
+ .get_image_size.width out
+ .get_image_size.height out
+ .get_rgba.type out
+ .get_rgba.primary out
+ .get_rgba.secondary out
BGCrossfade cheader_filename="libgnome-desktop/gnome-bg-crossfade.h"
BGSlideShow cheader_filename="libgnome-desktop/gnome-bg-slide-show.h"
BGSlideShow