[vala/staging] gtk+-3.0: Fix regression of StatusIcon.position_menu()
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging] gtk+-3.0: Fix regression of StatusIcon.position_menu()
- Date: Thu, 29 Mar 2018 06:35:24 +0000 (UTC)
commit 4b3418e09042ff6f3f8b09cba715316baccd5a99
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Thu Mar 29 08:32:03 2018 +0200
gtk+-3.0: Fix regression of StatusIcon.position_menu()
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=891629
vapi/gtk+-3.0.vapi | 3 ++-
vapi/metadata/Gtk-3.0-custom.vala | 6 ++++++
vapi/metadata/Gtk-3.0.metadata | 2 ++
3 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index 5123bf9..e21b0fd 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -7255,8 +7255,9 @@ namespace Gtk {
public uint32 get_x11_window_id ();
[Version (since = "2.10")]
public bool is_embedded ();
+ [CCode (instance_pos = -1)]
[Version (since = "2.10")]
- public static void position_menu (Gtk.Menu menu, ref int x, ref int y, out bool push_in,
Gtk.StatusIcon user_data);
+ public void position_menu (Gtk.Menu menu, ref int x, ref int y, out bool push_in);
[Version (since = "2.10")]
public void set_from_file (string filename);
[Version (since = "2.14")]
diff --git a/vapi/metadata/Gtk-3.0-custom.vala b/vapi/metadata/Gtk-3.0-custom.vala
index ced90d6..efbf7f5 100644
--- a/vapi/metadata/Gtk-3.0-custom.vala
+++ b/vapi/metadata/Gtk-3.0-custom.vala
@@ -54,6 +54,12 @@ namespace Gtk {
public struct RecentData {
}
+ public class StatusIcon : GLib.Object {
+ [CCode (instance_pos = -1)]
+ [Version (since = "2.10")]
+ public void position_menu (Gtk.Menu menu, ref int x, ref int y, out bool push_in);
+ }
+
[CCode (type_id = "gtk_style_get_type ()")]
public class Style : GLib.Object {
[NoWrapper]
diff --git a/vapi/metadata/Gtk-3.0.metadata b/vapi/metadata/Gtk-3.0.metadata
index 8bf4561..008c20d 100644
--- a/vapi/metadata/Gtk-3.0.metadata
+++ b/vapi/metadata/Gtk-3.0.metadata
@@ -482,6 +482,8 @@ PlacesSidebar
SelectionData
.free destroys_instance
.get_data skip=false
+StatusIcon
+ .position_menu skip
Style
.base unowned=false
.bg unowned=false
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]