[vala/staging] gnome-desktop-3.0: Some parameter fixes
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging] gnome-desktop-3.0: Some parameter fixes
- Date: Sun, 28 Nov 2021 11:47:26 +0000 (UTC)
commit 0b4995629507ffce2fdd95d250f09f44cfbb0d50
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Sun Nov 28 12:45:25 2021 +0100
gnome-desktop-3.0: Some parameter fixes
vapi/gnome-desktop-3.0.vapi | 4 ++--
vapi/metadata/GnomeDesktop-3.0.metadata | 5 +++++
2 files changed, 7 insertions(+), 2 deletions(-)
---
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]