vapi: Update mutter bindings to 3.15.4+

This commit is contained in:
Rico Tzschichholz 2015-02-06 19:56:17 +01:00
parent d42d9d8c9a
commit 525ef68994

View File

@ -109,8 +109,10 @@ namespace Meta {
[CCode (cheader_filename = "meta/prefs.h")]
public static bool get_show_fallback_app_menu ();
#endif
#if !HAS_MUTTER316
[CCode (cheader_filename = "meta/prefs.h")]
public static unowned string get_theme ();
#endif
[CCode (cheader_filename = "meta/prefs.h")]
public static unowned Pango.FontDescription get_titlebar_font ();
[CCode (cheader_filename = "meta/prefs.h")]
@ -563,6 +565,9 @@ namespace Meta {
public signal void overlay_key ();
#if HAS_MUTTER314
public signal bool restart ();
#if HAS_MUTTER316
public signal bool show_resize_popup (bool object, Meta.Rectangle p0, int p1, int p2);
#endif
public signal bool show_restart_message (string? message);
#endif
public signal void window_created (Meta.Window object);
@ -614,6 +619,16 @@ namespace Meta {
public static void switch_window (Meta.Display display, Meta.Screen screen, Meta.Window event_window, X.Event event, Meta.KeyBinding binding);
#endif
}
#if HAS_MUTTER316
[CCode (cheader_filename = "meta/meta-monitor-manager.h", type_id = "meta_monitor_manager_get_type ()")]
public abstract class MonitorManager : GLib.DBusInterfaceSkeleton, GLib.DBusInterface {
[CCode (has_construct_function = false)]
protected MonitorManager ();
public static unowned Meta.MonitorManager @get ();
public int get_monitor_for_output (uint id);
public signal void confirm_display_change ();
}
#endif
[CCode (cheader_filename = "meta/meta-plugin.h", type_id = "meta_plugin_get_type ()")]
public abstract class Plugin : GLib.Object {
[CCode (has_construct_function = false)]
@ -729,7 +744,9 @@ namespace Meta {
#if !HAS_MUTTER314
public void ungrab_all_keys (uint32 timestamp);
#endif
#if !HAS_MUTTER316
public void unset_cm_selection ();
#endif
#if !HAS_MUTTER314
[NoAccessorMethod]
public bool keyboard_grabbed { get; }
@ -799,6 +816,12 @@ namespace Meta {
[Compact]
public class Theme {
public void free ();
#if HAS_MUTTER316
[CCode (cheader_filename = "meta/main.h")]
public static unowned Meta.Theme get_default ();
[CCode (cheader_filename = "meta/main.h")]
public static unowned Meta.Theme @new ();
#else
[CCode (cheader_filename = "meta/main.h")]
public static unowned Meta.Theme get_current ();
[CCode (cheader_filename = "meta/main.h")]
@ -812,6 +835,7 @@ namespace Meta {
public static void set_current (string name, bool force_reload);
#endif
public bool validate () throws GLib.Error;
#endif
}
[CCode (cheader_filename = "meta/window.h", type_id = "meta_window_get_type ()")]
#if HAS_MUTTER314
@ -1005,13 +1029,21 @@ namespace Meta {
public string gtk_unique_bus_name { get; }
public string gtk_window_object_path { get; }
[NoAccessorMethod]
#if HAS_MUTTER316
public Cairo.Surface icon { owned get; }
#else
public Gdk.Pixbuf icon { owned get; }
#endif
[NoAccessorMethod]
public bool maximized_horizontally { get; }
[NoAccessorMethod]
public bool maximized_vertically { get; }
[NoAccessorMethod]
#if HAS_MUTTER316
public Cairo.Surface mini_icon { owned get; }
#else
public Gdk.Pixbuf mini_icon { owned get; }
#endif
[NoAccessorMethod]
public bool minimized { get; }
public string mutter_hints { get; }
@ -1364,6 +1396,9 @@ namespace Meta {
#if HAS_MUTTER314
WAYLAND_POPUP,
WINDOW_BASE,
#endif
#if HAS_MUTTER316
FRAME_BUTTON,
#endif
MOVING,
#if !HAS_MUTTER314
@ -1616,7 +1651,9 @@ namespace Meta {
AUTO_RAISE,
AUTO_RAISE_DELAY,
FOCUS_CHANGE_ON_POINTER_REST,
#if !HAS_MUTTER316
THEME,
#endif
TITLEBAR_FONT,
NUM_WORKSPACES,
DYNAMIC_WORKSPACES,