]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gnome-desktop-3.0: Some parameter fixes
authorRico Tzschichholz <ricotz@ubuntu.com>
Sun, 28 Nov 2021 11:45:25 +0000 (12:45 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Mon, 29 Nov 2021 12:31:37 +0000 (13:31 +0100)
vapi/gnome-desktop-3.0.vapi
vapi/metadata/GnomeDesktop-3.0.metadata

index e7cf14462423238da87249397e5a4e014498f490..ae244111aa713361bc999c7e1dc7f89684e7ce34 100644 (file)
@@ -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 ();
index 34fadeb075d151fb798251274864d736179e6b23..1a11e5a0584f4affcea0780defc75e1336d38fc7 100644 (file)
@@ -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