[vala] gtk+-2.0, gtk+-3.0: Gtk.MenuPositionFunc, x and y are inout, not just out.
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gtk+-2.0, gtk+-3.0: Gtk.MenuPositionFunc, x and y are inout, not just out.
- Date: Wed, 28 Jan 2015 13:04:41 +0000 (UTC)
commit 4d6e1d82f5398dd55f5230b619be0028c73d5973
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Wed Jan 28 13:31:51 2015 +0100
gtk+-2.0,gtk+-3.0: Gtk.MenuPositionFunc, x and y are inout, not just out.
https://bugzilla.gnome.org/show_bug.cgi?id=674537
vapi/gtk+-2.0.vapi | 4 ++--
vapi/gtk+-3.0.vapi | 4 ++--
vapi/packages/gtk+-2.0/gtk+-2.0-custom.vala | 2 +-
vapi/packages/gtk+-2.0/gtk+-2.0.metadata | 4 ++--
vapi/packages/gtk+-3.0/gtk+-3.0-custom.vala | 2 +-
vapi/packages/gtk+-3.0/gtk+-3.0.metadata | 4 ++--
6 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi
index acc2e09..551022e 100644
--- a/vapi/gtk+-2.0.vapi
+++ b/vapi/gtk+-2.0.vapi
@@ -4073,7 +4073,7 @@ namespace Gtk {
public uint32 get_x11_window_id ();
public bool is_embedded ();
[CCode (instance_pos = -1)]
- public void position_menu (Gtk.Menu menu, out int x, out int y, out bool push_in);
+ public void position_menu (Gtk.Menu menu, ref int x, ref int y, out bool push_in);
public void set_blinking (bool blinking);
public void set_from_file (string filename);
public void set_from_gicon (GLib.Icon icon);
@@ -7569,7 +7569,7 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
public delegate void MenuDetachFunc (Gtk.Widget attach_widget, Gtk.Menu menu);
[CCode (cheader_filename = "gtk/gtk.h")]
- public delegate void MenuPositionFunc (Gtk.Menu menu, out int x, out int y, out bool push_in);
+ public delegate void MenuPositionFunc (Gtk.Menu menu, ref int x, ref int y, out bool push_in);
[CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
public delegate void ModuleDisplayInitFunc (Gdk.Display display);
[CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index 2fb504d..c6ff4c6 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -4823,7 +4823,7 @@ namespace Gtk {
public uint32 get_x11_window_id ();
public bool is_embedded ();
[CCode (instance_pos = -1)]
- public void position_menu (Gtk.Menu menu, out int x, out int y, out bool push_in);
+ public void position_menu (Gtk.Menu menu, ref int x, ref int y, out bool push_in);
public void set_from_file (string filename);
public void set_from_gicon (GLib.Icon icon);
public void set_from_icon_name (string icon_name);
@@ -8706,7 +8706,7 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
public delegate void MenuDetachFunc (Gtk.Widget attach_widget, Gtk.Menu menu);
[CCode (cheader_filename = "gtk/gtk.h")]
- public delegate void MenuPositionFunc (Gtk.Menu menu, out int x, out int y, out bool push_in);
+ public delegate void MenuPositionFunc (Gtk.Menu menu, ref int x, ref int y, out bool push_in);
[CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
public delegate void ModuleDisplayInitFunc (Gdk.Display display);
[CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0-custom.vala b/vapi/packages/gtk+-2.0/gtk+-2.0-custom.vala
index 8e94a9e..9d018ec 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0-custom.vala
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0-custom.vala
@@ -189,7 +189,7 @@ namespace Gtk {
public class StatusIcon {
[CCode (instance_pos = -1)]
- public void position_menu (Gtk.Menu menu, out int x, out int y, out bool push_in);
+ public void position_menu (Gtk.Menu menu, ref int x, ref int y, out bool push_in);
}
public class UIManager {
diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
index 0838bf1..881da4d 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
@@ -412,8 +412,8 @@ gtk_menu_popup.data hidden="1"
gtk_menu_popup.func nullable="1"
gtk_menu_popup.parent_menu_shell nullable="1"
gtk_menu_popup.parent_menu_item nullable="1"
-GtkMenuPositionFunc.x is_out="1"
-GtkMenuPositionFunc.y is_out="1"
+GtkMenuPositionFunc.x is_ref="1"
+GtkMenuPositionFunc.y is_ref="1"
GtkMenuPositionFunc.push_in is_out="1"
gtk_menu_item_deselect hidden="1"
gtk_menu_item_select hidden="1"
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0-custom.vala b/vapi/packages/gtk+-3.0/gtk+-3.0-custom.vala
index 0e7a2ec..6343797 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0-custom.vala
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0-custom.vala
@@ -58,7 +58,7 @@ namespace Gtk {
[CCode (type_id = "gtk_status_icon_get_type ()")]
public class StatusIcon {
[CCode (instance_pos = -1)]
- public void position_menu (Gtk.Menu menu, out int x, out int y, out bool push_in);
+ public void position_menu (Gtk.Menu menu, ref int x, ref int y, out bool push_in);
}
[CCode (type_id = "gtk_ui_manager_get_type ()")]
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
index c6a2988..27bf7d6 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
@@ -640,8 +640,8 @@ gtk_menu_popup.data hidden="1"
gtk_menu_popup.func nullable="1"
gtk_menu_popup.parent_menu_shell nullable="1"
gtk_menu_popup.parent_menu_item nullable="1"
-GtkMenuPositionFunc.x is_out="1"
-GtkMenuPositionFunc.y is_out="1"
+GtkMenuPositionFunc.x is_ref="1"
+GtkMenuPositionFunc.y is_ref="1"
GtkMenuPositionFunc.push_in is_out="1"
gtk_menu_item_deselect hidden="1"
gtk_menu_item_set_right_justified deprecated_since="3.2" replacement="Widget.set_hexpand and
Widget.set_halign"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]