From: Rico Tzschichholz Date: Sun, 28 Nov 2021 11:45:25 +0000 (+0100) Subject: vapi: Add gnome-desktop-4, gnome-bg-4 and gnome-rr-4 bindings X-Git-Tag: 0.55.1~52 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4b1c63551d976b3746d45a597eb33c337754e43;p=thirdparty%2Fvala.git vapi: Add gnome-desktop-4, gnome-bg-4 and gnome-rr-4 bindings Fixes https://gitlab.gnome.org/GNOME/vala/issues/1257 --- diff --git a/vapi/Makefile.am b/vapi/Makefile.am index bd4094b16..a7125a664 100644 --- a/vapi/Makefile.am +++ b/vapi/Makefile.am @@ -80,10 +80,16 @@ dist_vapi_DATA = \ gmodule-2.0.vapi \ gnet-2.0.deps \ gnet-2.0.vapi \ + gnome-bg-4.deps \ + gnome-bg-4.vapi \ gnome-desktop-2.0.deps \ gnome-desktop-2.0.vapi \ gnome-desktop-3.0.deps \ gnome-desktop-3.0.vapi \ + gnome-desktop-4.deps \ + gnome-desktop-4.vapi \ + gnome-rr-4.deps \ + gnome-rr-4.vapi \ gnome-vfs-2.0.vapi \ gnu.deps \ gnu.vapi \ @@ -383,7 +389,10 @@ GIR_BINDINGS = \ geocode-glib-1.0 \ gio-2.0 \ gmodule-2.0 \ + gnome-bg-4 \ gnome-desktop-3.0 \ + gnome-desktop-4 \ + gnome-rr-4 \ gobject-introspection-1.0 \ goocanvas-2.0 \ graphene-gobject-1.0 \ @@ -511,12 +520,21 @@ gio-unix-2.0: gmodule-2.0: $(GENVAPI) --library $(srcdir)/gmodule-2.0 --metadatadir $(METADATADIR) $(METADATADIR)/GModule-2.0-custom.vala $(GIRDIR)/GModule-2.0.gir +gnome-bg-4: + $(GENVAPI) --library $(srcdir)/gnome-bg-4 --pkg cairo --pkg gdk-pixbuf-2.0 --pkg gnome-desktop-4 --pkg gtk4 --metadatadir $(METADATADIR) $(METADATADIR)/GnomeBG-4.0-custom.vala $(GIRDIR)/GnomeBG-4.0.gir + gnome-desktop-2.0: $(GENVAPI) --library $(srcdir)/gnome-desktop-2.0 $(PACKAGESDIR)/gnome-desktop-2.0/gnome-desktop-2.0.gi gnome-desktop-3.0: $(GENVAPI) --library $(srcdir)/gnome-desktop-3.0 --pkg gtk+-3.0 --metadatadir $(METADATADIR) $(METADATADIR)/GnomeDesktop-3.0-custom.vala $(GIRDIR)/GnomeDesktop-3.0.gir +gnome-desktop-4: + $(GENVAPI) --library $(srcdir)/gnome-desktop-4 --pkg gio-2.0 --pkg gdesktopenums-3.0 --pkg gdk-pixbuf-2.0 --metadatadir $(METADATADIR) $(GIRDIR)/GnomeDesktop-4.0.gir + +gnome-rr-4: + $(GENVAPI) --library $(srcdir)/gnome-rr-4 --pkg gnome-desktop-4 --pkg gtk4 --metadatadir $(METADATADIR) $(GIRDIR)/GnomeRR-4.0.gir + gnome-vfs-2.0: $(GENVAPI) --library $(srcdir)/gnome-vfs-2.0 $(PACKAGESDIR)/gnome-vfs-2.0/gnome-vfs-2.0-custom.vala $(PACKAGESDIR)/gnome-vfs-2.0/gnome-vfs-2.0.gi diff --git a/vapi/gnome-bg-4.deps b/vapi/gnome-bg-4.deps new file mode 100644 index 000000000..5ce44f96b --- /dev/null +++ b/vapi/gnome-bg-4.deps @@ -0,0 +1,4 @@ +cairo +gdk-pixbuf-2.0 +gnome-desktop-4 +gtk4 diff --git a/vapi/gnome-bg-4.vapi b/vapi/gnome-bg-4.vapi new file mode 100644 index 000000000..d0f8633c1 --- /dev/null +++ b/vapi/gnome-bg-4.vapi @@ -0,0 +1,47 @@ +/* gnome-bg-4.vapi generated by vapigen, do not modify. */ + +[CCode (cprefix = "Gnome", gir_namespace = "GnomeBG", gir_version = "4.0", lower_case_cprefix = "gnome_")] +namespace Gnome { + [CCode (cheader_filename = "libgnome-desktop/gnome-bg.h", type_id = "gnome_bg_get_type ()")] + public class BG : GLib.Object { + [CCode (has_construct_function = false)] + public BG (); + public bool changes_with_time (); + public Gdk.Pixbuf create_frame_thumbnail (Gnome.DesktopThumbnailFactory factory, Cairo.RectangleInt screen_area, int dest_width, int dest_height, int frame_num); + public Cairo.Surface create_surface (Gdk.Surface window, int width, int height); + public Gdk.Pixbuf create_thumbnail (Gnome.DesktopThumbnailFactory factory, Cairo.RectangleInt screen_area, 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, out int width, out int height); + public GDesktop.BackgroundStyle get_placement (); + public void get_rgba (out GDesktop.BackgroundShading type, out Gdk.RGBA primary, out Gdk.RGBA secondary); + public bool has_multiple_sizes (); + public bool is_dark (int dest_width, int dest_height); + public void load_from_preferences (GLib.Settings settings); + public void save_to_preferences (GLib.Settings settings); + public void set_filename (string filename); + public void set_placement (GDesktop.BackgroundStyle placement); + public void set_rgba (GDesktop.BackgroundShading type, Gdk.RGBA primary, Gdk.RGBA secondary); + public signal void changed (); + public signal void transitioned (); + } + [CCode (cheader_filename = "libgnome-desktop/gnome-bg-slide-show.h", type_id = "gnome_bg_slide_show_get_type ()")] + public class BGSlideShow : GLib.Object { + [CCode (has_construct_function = false)] + public BGSlideShow (string filename); + public void get_current_slide (int width, int height, out double progress, out double duration, out bool is_fixed, out unowned string file1, out unowned string file2); + public bool get_has_multiple_sizes (); + public int get_num_slides (); + public bool get_slide (int frame_number, int width, int height, out double progress, out double duration, out bool is_fixed, out unowned string file1, out unowned string file2); + public double get_start_time (); + public double get_total_duration (); + public bool load () throws GLib.Error; + public void load_async (GLib.Cancellable? cancellable, GLib.AsyncReadyCallback callback); + [NoAccessorMethod] + [Version (since = "3.34")] + public GLib.File file { owned get; construct; } + public bool has_multiple_sizes { get; } + public double start_time { get; } + public double total_duration { get; } + } +} diff --git a/vapi/gnome-desktop-4.deps b/vapi/gnome-desktop-4.deps new file mode 100644 index 000000000..fe8a6b2d1 --- /dev/null +++ b/vapi/gnome-desktop-4.deps @@ -0,0 +1,3 @@ +gio-2.0 +gdesktopenums-3.0 +gdk-pixbuf-2.0 diff --git a/vapi/gnome-desktop-4.vapi b/vapi/gnome-desktop-4.vapi new file mode 100644 index 000000000..6524478fb --- /dev/null +++ b/vapi/gnome-desktop-4.vapi @@ -0,0 +1,125 @@ +/* gnome-desktop-4.vapi generated by vapigen, do not modify. */ + +[CCode (cprefix = "Gnome", gir_namespace = "GnomeDesktop", gir_version = "4.0", lower_case_cprefix = "gnome_")] +namespace Gnome { + namespace DesktopThumbnail { + [CCode (cheader_filename = "libgnome-desktop/gnome-desktop-thumbnail.h")] + [Version (since = "2.2")] + public static bool is_valid (Gdk.Pixbuf pixbuf, string uri, long mtime); + [CCode (cheader_filename = "libgnome-desktop/gnome-desktop-thumbnail.h")] + [Version (since = "2.2")] + public static string path_for_uri (string uri, Gnome.DesktopThumbnailSize size); + } + namespace Languages { + [CCode (array_length = false, array_null_terminated = true, cheader_filename = "libgnome-desktop/gnome-languages.h", cname = "gnome_get_all_locales")] + [Version (since = "3.8")] + public static string[] get_all_locales (); + [CCode (cheader_filename = "libgnome-desktop/gnome-languages.h", cname = "gnome_get_country_from_code")] + [Version (since = "3.8")] + public static string get_country_from_code (string code, string? translation); + [CCode (cheader_filename = "libgnome-desktop/gnome-languages.h", cname = "gnome_get_country_from_locale")] + [Version (since = "3.8")] + public static string get_country_from_locale (string locale, string? translation); + [CCode (cheader_filename = "libgnome-desktop/gnome-languages.h", cname = "gnome_get_input_source_from_locale")] + [Version (since = "3.8")] + public static bool get_input_source_from_locale (string locale, out unowned string type, out unowned string id); + [CCode (cheader_filename = "libgnome-desktop/gnome-languages.h", cname = "gnome_get_language_from_code")] + [Version (since = "3.8")] + public static string get_language_from_code (string code, string? translation); + [CCode (cheader_filename = "libgnome-desktop/gnome-languages.h", cname = "gnome_get_language_from_locale")] + [Version (since = "3.8")] + public static string get_language_from_locale (string locale, string? translation); + [CCode (cheader_filename = "libgnome-desktop/gnome-languages.h", cname = "gnome_get_translated_modifier")] + [Version (since = "3.34")] + public static string get_translated_modifier (string modifier, string? translation); + [CCode (cheader_filename = "libgnome-desktop/gnome-languages.h", cname = "gnome_language_has_translations")] + [Version (since = "3.8")] + public static bool language_has_translations (string code); + [CCode (cheader_filename = "libgnome-desktop/gnome-languages.h", cname = "gnome_normalize_locale")] + [Version (since = "3.8")] + public static string normalize_locale (string locale); + [CCode (cheader_filename = "libgnome-desktop/gnome-languages.h", cname = "gnome_parse_locale")] + [Version (since = "3.8")] + public static bool parse_locale (string locale, out string language_codep, out string? country_codep, out string? codesetp, out string? modifierp); + } + [CCode (cheader_filename = "libgnome-desktop/gnome-desktop-thumbnail.h", type_id = "gnome_desktop_thumbnail_factory_get_type ()")] + public class DesktopThumbnailFactory : GLib.Object { + [CCode (has_construct_function = false)] + [Version (since = "2.2")] + public DesktopThumbnailFactory (Gnome.DesktopThumbnailSize size); + [Version (since = "2.2")] + public bool can_thumbnail (string uri, string mime_type, long mtime); + [Version (since = "2.2")] + public void create_failed_thumbnail (string uri, long mtime); + [Version (since = "2.2")] + public Gdk.Pixbuf generate_thumbnail (string uri, string mime_type); + [Version (since = "2.2")] + public bool has_valid_failed_thumbnail (string uri, long mtime); + [Version (since = "2.2")] + public string lookup (string uri, long mtime); + [Version (since = "2.2")] + public void save_thumbnail (Gdk.Pixbuf thumbnail, string uri, long original_mtime); + } + [CCode (cheader_filename = "libgnome-desktop/gnome-idle-monitor.h", type_id = "gnome_idle_monitor_get_type ()")] + public class IdleMonitor : GLib.Object, GLib.Initable { + [CCode (has_construct_function = false)] + public IdleMonitor (); + public uint add_idle_watch (uint64 interval_msec, owned Gnome.IdleMonitorWatchFunc? callback); + public uint add_user_active_watch (owned Gnome.IdleMonitorWatchFunc? callback); + public uint64 get_idletime (); + public void remove_watch (uint id); + } + [CCode (cheader_filename = "libgnome-desktop/gnome-pnp-ids.h", type_id = "gnome_pnp_ids_get_type ()")] + public class PnpIds : GLib.Object { + [CCode (has_construct_function = false)] + public PnpIds (); + public string get_pnp_id (string pnp_id); + } + [CCode (cheader_filename = "libgnome-desktop/gnome-wall-clock.h", type_id = "gnome_wall_clock_get_type ()")] + public class WallClock : GLib.Object { + [CCode (has_construct_function = false)] + public WallClock (); + public unowned string get_clock (); + public unowned GLib.TimeZone get_timezone (); + public string string_for_datetime (GLib.DateTime now, GDesktop.ClockFormat clock_format, bool show_weekday, bool show_full_date, bool show_seconds); + public string clock { get; } + [NoAccessorMethod] + public bool time_only { get; set; } + public GLib.TimeZone timezone { get; } + } + [CCode (cheader_filename = "libgnome-desktop/gnome-xkb-info.h", type_id = "gnome_xkb_info_get_type ()")] + public class XkbInfo : GLib.Object { + [CCode (has_construct_function = false)] + public XkbInfo (); + [Version (since = "3.8")] + public unowned string description_for_group (string group_id); + [Version (since = "3.6")] + public unowned string description_for_option (string group_id, string id); + [Version (since = "3.6")] + public GLib.List get_all_layouts (); + [Version (since = "3.6")] + public GLib.List get_all_option_groups (); + [Version (since = "3.18")] + public GLib.List get_languages_for_layout (string layout_id); + [Version (since = "3.6")] + public bool get_layout_info (string id, out unowned string? display_name, out unowned string? short_name, out unowned string? xkb_layout, out unowned string? xkb_variant); + [Version (since = "3.8")] + public GLib.List get_layouts_for_country (string country_code); + [Version (since = "3.8")] + public GLib.List get_layouts_for_language (string language_code); + [Version (since = "3.6")] + public GLib.List get_options_for_group (string group_id); + public signal void layouts_changed (); + } + [CCode (cheader_filename = "libgnome-desktop/gnome-desktop-thumbnail.h", cprefix = "GNOME_DESKTOP_THUMBNAIL_SIZE_", has_type_id = false)] + public enum DesktopThumbnailSize { + NORMAL, + LARGE, + XLARGE, + XXLARGE + } + [CCode (cheader_filename = "libgnome-desktop/gnome-idle-monitor.h", instance_pos = 2.9)] + public delegate void IdleMonitorWatchFunc (Gnome.IdleMonitor monitor, uint id); + [CCode (cheader_filename = "libgnome-desktop/gnome-systemd.h")] + public static async bool start_systemd_scope (string name, int32 pid, string? description, GLib.DBusConnection? connection, GLib.Cancellable? cancellable) throws GLib.Error; +} diff --git a/vapi/gnome-rr-4.deps b/vapi/gnome-rr-4.deps new file mode 100644 index 000000000..18b8fd392 --- /dev/null +++ b/vapi/gnome-rr-4.deps @@ -0,0 +1,2 @@ +gnome-desktop-4 +gtk4 diff --git a/vapi/gnome-rr-4.vapi b/vapi/gnome-rr-4.vapi new file mode 100644 index 000000000..7cf4cf68b --- /dev/null +++ b/vapi/gnome-rr-4.vapi @@ -0,0 +1,180 @@ +/* gnome-rr-4.vapi generated by vapigen, do not modify. */ + +[CCode (cprefix = "GnomeRR", gir_namespace = "GnomeRR", gir_version = "4.0", lower_case_cprefix = "gnome_rr_")] +namespace GnomeRR { + [CCode (cheader_filename = "libgnome-desktop/gnome-rr-config.h", type_id = "gnome_rr_config_get_type ()")] + public class Config : GLib.Object { + [CCode (has_construct_function = false)] + protected Config (); + public bool applicable (GnomeRR.Screen screen) throws GLib.Error; + public bool apply (GnomeRR.Screen screen) throws GLib.Error; + public bool apply_persistent (GnomeRR.Screen screen) throws GLib.Error; + [CCode (has_construct_function = false)] + public Config.current (GnomeRR.Screen screen) throws GLib.Error; + public bool ensure_primary (); + public bool equal (GnomeRR.Config config2); + public bool get_clone (); + [CCode (array_length = false, array_null_terminated = true)] + public unowned GnomeRR.OutputInfo[] get_outputs (); + public bool load_current () throws GLib.Error; + public bool match (GnomeRR.Config config2); + public void sanitize (); + public void set_clone (bool clone); + [NoAccessorMethod] + public GnomeRR.Screen screen { construct; } + } + [CCode (cheader_filename = "libgnome-desktop/gnome-rr.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gnome_rr_crtc_get_type ()")] + [Compact] + public class Crtc { + public bool can_drive_output (GnomeRR.Output output); + public unowned GnomeRR.Mode get_current_mode (); + public GnomeRR.Rotation get_current_rotation (); + public bool get_gamma (int size, out ushort red, out ushort green, out ushort blue); + public uint32 get_id (); + public void get_position (out int x, out int y); + public GnomeRR.Rotation get_rotations (); + public bool set_gamma (int size, ushort red, ushort green, ushort blue); + public bool supports_rotation (GnomeRR.Rotation rotation); + } + [CCode (cheader_filename = "libgnome-desktop/gnome-rr.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gnome_rr_mode_get_type ()")] + [Compact] + public class Mode { + public int get_freq (); + public double get_freq_f (); + public uint get_height (); + public uint32 get_id (); + public bool get_is_interlaced (); + public bool get_is_tiled (); + public uint get_width (); + } + [CCode (cheader_filename = "libgnome-desktop/gnome-rr.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gnome_rr_output_get_type ()")] + [Compact] + public class Output { + public bool can_clone (GnomeRR.Output clone); + public int get_backlight (); + public unowned GnomeRR.Crtc get_crtc (); + public unowned GnomeRR.Mode get_current_mode (); + public unowned string get_display_name (); + public uint8 get_edid_data (size_t size); + public uint32 get_id (); + public void get_ids_from_edid (out string vendor, out string product, out string serial); + public bool get_is_primary (); + public bool get_is_underscanning (); + public int get_min_backlight_step (); + public unowned string get_name (); + public void get_physical_size (out int width_mm, out int height_mm); + public void get_position (out int x, out int y); + [CCode (array_length = false, array_null_terminated = true)] + public unowned GnomeRR.Crtc[] get_possible_crtcs (); + public unowned GnomeRR.Mode get_preferred_mode (); + public bool is_builtin_display (); + [CCode (array_length = false, array_null_terminated = true)] + public unowned GnomeRR.Mode[] list_modes (); + public bool set_backlight (int value) throws GLib.Error; + public bool set_color_transform (GnomeRR.CTM ctm) throws GLib.Error; + public bool supports_color_transform (); + public bool supports_mode (GnomeRR.Mode mode); + public bool supports_underscanning (); + } + [CCode (cheader_filename = "libgnome-desktop/gnome-rr-config.h", type_id = "gnome_rr_output_info_get_type ()")] + public class OutputInfo : GLib.Object { + [CCode (has_construct_function = false)] + protected OutputInfo (); + public double get_aspect_ratio (); + public unowned string get_display_name (); + public void get_geometry (out int x, out int y, out int width, out int height); + public unowned string get_name (); + public int get_preferred_height (); + public int get_preferred_width (); + public bool get_primary (); + public unowned string get_product (); + public int get_refresh_rate (); + public GnomeRR.Rotation get_rotation (); + public unowned string get_serial (); + public bool get_underscanning (); + public unowned string get_vendor (); + public bool is_active (); + public bool is_connected (); + public bool is_primary_tile (); + public void set_active (bool active); + public void set_geometry (int x, int y, int width, int height); + public void set_primary (bool primary); + public void set_refresh_rate (int rate); + public void set_rotation (GnomeRR.Rotation rotation); + public void set_underscanning (bool underscanning); + public bool supports_rotation (GnomeRR.Rotation rotation); + } + [CCode (cheader_filename = "libgnome-desktop/gnome-rr.h", type_id = "gnome_rr_screen_get_type ()")] + public class Screen : GLib.Object, GLib.AsyncInitable, GLib.Initable { + [CCode (cname = "gnome_rr_screen_new_async", has_construct_function = false)] + public async Screen (Gdk.Display display) throws GLib.Error; + public unowned GnomeRR.Crtc get_crtc_by_id (uint32 id); + public bool get_dpms_mode (out GnomeRR.DpmsMode mode) throws GLib.Error; + public unowned GnomeRR.Output get_output_by_id (uint32 id); + public unowned GnomeRR.Output get_output_by_name (string name); + public void get_ranges (out int min_width, out int max_width, out int min_height, out int max_height); + [CCode (array_length = false, array_null_terminated = true)] + public unowned GnomeRR.Mode[] list_clone_modes (); + [CCode (array_length = false, array_null_terminated = true)] + public unowned GnomeRR.Crtc[] list_crtcs (); + [CCode (array_length = false, array_null_terminated = true)] + public unowned GnomeRR.Mode[] list_modes (); + [CCode (array_length = false, array_null_terminated = true)] + public unowned GnomeRR.Output[] list_outputs (); + public bool refresh () throws GLib.Error; + public bool set_dpms_mode (GnomeRR.DpmsMode mode) throws GLib.Error; + [CCode (cname = "gnome_rr_screen_new", has_construct_function = false)] + public Screen.sync (Gdk.Display display) throws GLib.Error; + [NoAccessorMethod] + public GnomeRR.DpmsModeType dpms_mode { get; set; } + [NoAccessorMethod] + public Gdk.Display gdk_display { owned get; construct; } + public virtual signal void changed (); + public virtual signal void output_connected (GnomeRR.Output output); + public virtual signal void output_disconnected (GnomeRR.Output output); + } + [CCode (cheader_filename = "libgnome-desktop/gnome-rr.h", has_type_id = false)] + public struct CTM { + } + [CCode (cheader_filename = "libgnome-desktop/gnome-rr.h", cprefix = "GNOME_RR_DPMS_", has_type_id = false)] + public enum DpmsMode { + ON, + STANDBY, + SUSPEND, + OFF, + UNKNOWN + } + [CCode (cheader_filename = "libgnome-desktop/gnome-rr.h", cprefix = "GNOME_RR_DPMS_", type_id = "gnome_rr_dpms_mode_get_type ()")] + public enum DpmsModeType { + ON, + STANDBY, + SUSPEND, + OFF, + UNKNOWN + } + [CCode (cheader_filename = "libgnome-desktop/gnome-rr.h", cprefix = "GNOME_RR_", has_type_id = false)] + [Flags] + public enum Rotation { + ROTATION_NEXT, + ROTATION_0, + ROTATION_90, + ROTATION_180, + ROTATION_270, + REFLECT_X, + REFLECT_Y + } + [CCode (cheader_filename = "libgnome-desktop/gnome-rr.h", cprefix = "GNOME_RR_ERROR_")] + public errordomain Error { + UNKNOWN, + NO_RANDR_EXTENSION, + RANDR_ERROR, + BOUNDS_ERROR, + CRTC_ASSIGNMENT, + NO_MATCHING_CONFIG, + NO_DPMS_EXTENSION; + [CCode (cheader_filename = "libgnome-desktop/gnome-rr.h")] + public static GLib.Quark quark (); + } + [CCode (cheader_filename = "libgnome-desktop/gnome-rr.h", cname = "GNOME_RR_CONNECTOR_TYPE_PANEL")] + public const string CONNECTOR_TYPE_PANEL; +} diff --git a/vapi/metadata/GnomeBG-4.0-custom.vala b/vapi/metadata/GnomeBG-4.0-custom.vala new file mode 100644 index 000000000..76347b31e --- /dev/null +++ b/vapi/metadata/GnomeBG-4.0-custom.vala @@ -0,0 +1,6 @@ +namespace Gnome { + [CCode (cheader_filename = "libgnome-desktop/gnome-bg-slide-show.h", type_id = "gnome_bg_slide_show_get_type ()")] + public class BGSlideShow : GLib.Object { + public void load_async (GLib.Cancellable? cancellable, GLib.AsyncReadyCallback callback); + } +} diff --git a/vapi/metadata/GnomeBG-4.0.metadata b/vapi/metadata/GnomeBG-4.0.metadata new file mode 100644 index 000000000..b18d3786c --- /dev/null +++ b/vapi/metadata/GnomeBG-4.0.metadata @@ -0,0 +1,10 @@ +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 +BGSlideShow cheader_filename="libgnome-desktop/gnome-bg-slide-show.h" +BGSlideShow + .load_async skip + .file since="3.34" diff --git a/vapi/metadata/GnomeDesktop-4.0.metadata b/vapi/metadata/GnomeDesktop-4.0.metadata new file mode 100644 index 000000000..2a710dd5f --- /dev/null +++ b/vapi/metadata/GnomeDesktop-4.0.metadata @@ -0,0 +1,23 @@ +DesktopThumbnail* cheader_filename="libgnome-desktop/gnome-desktop-thumbnail.h" +desktop_thumbnail_* parent="Gnome.DesktopThumbnail" name="desktop_thumbnail_(.+)" cheader_filename="libgnome-desktop/gnome-desktop-thumbnail.h" + +get_language_from_locale parent="Gnome.Languages" cheader_filename="libgnome-desktop/gnome-languages.h" +get_country_from_locale parent="Gnome.Languages" cheader_filename="libgnome-desktop/gnome-languages.h" +get_all_locales parent="Gnome.Languages" cheader_filename="libgnome-desktop/gnome-languages.h" +parse_locale parent="Gnome.Languages" cheader_filename="libgnome-desktop/gnome-languages.h" +normalize_locale parent="Gnome.Languages" cheader_filename="libgnome-desktop/gnome-languages.h" +language_has_translations parent="Gnome.Languages" cheader_filename="libgnome-desktop/gnome-languages.h" +get_language_from_code parent="Gnome.Languages" cheader_filename="libgnome-desktop/gnome-languages.h" +get_country_from_code parent="Gnome.Languages" cheader_filename="libgnome-desktop/gnome-languages.h" +get_input_source_from_locale parent="Gnome.Languages" cheader_filename="libgnome-desktop/gnome-languages.h" +get_translated_modifier parent="Gnome.Languages" cheader_filename="libgnome-desktop/gnome-languages.h" + +IdleMonitor* cheader_filename="libgnome-desktop/gnome-idle-monitor.h" + +PnpIds cheader_filename="libgnome-desktop/gnome-pnp-ids.h" + +start_systemd_scope cheader_filename="libgnome-desktop/gnome-systemd.h" + +WallClock cheader_filename="libgnome-desktop/gnome-wall-clock.h" + +XkbInfo cheader_filename="libgnome-desktop/gnome-xkb-info.h" diff --git a/vapi/metadata/GnomeRR-4.0.metadata b/vapi/metadata/GnomeRR-4.0.metadata new file mode 100644 index 000000000..a9d2cedd4 --- /dev/null +++ b/vapi/metadata/GnomeRR-4.0.metadata @@ -0,0 +1,5 @@ +* cheader_filename="libgnome-desktop/gnome-rr.h" +OutputInfo cheader_filename="libgnome-desktop/gnome-rr-config.h" +Config cheader_filename="libgnome-desktop/gnome-rr-config.h" +Screen + .new name="new_sync"