From: Rico Tzschichholz Date: Sun, 28 Nov 2021 11:45:25 +0000 (+0100) Subject: gnome-desktop-3.0: Some parameter fixes X-Git-Tag: 0.55.1~53 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b4995629507ffce2fdd95d250f09f44cfbb0d50;p=thirdparty%2Fvala.git gnome-desktop-3.0: Some parameter fixes --- diff --git a/vapi/gnome-desktop-3.0.vapi b/vapi/gnome-desktop-3.0.vapi index 378830a9f..31014bd41 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