[vala] gtk+-3.0: correct Plug and Socket to use X.Window where necessary



commit 0819a9b69f3935735ba895642be24e19b7d036a5
Author: Evan Nemerson <evan coeus-group com>
Date:   Sun Aug 7 09:51:41 2011 -0700

    gtk+-3.0: correct Plug and Socket to use X.Window where necessary
    
    Fixes bug 656049.

 vapi/gtk+-3.0.deps |    1 +
 vapi/gtk+-3.0.vapi |   14 +++++++-------
 2 files changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/vapi/gtk+-3.0.deps b/vapi/gtk+-3.0.deps
index 1b560e0..822b12b 100644
--- a/vapi/gtk+-3.0.deps
+++ b/vapi/gtk+-3.0.deps
@@ -4,3 +4,4 @@ cairo
 gdk-pixbuf-2.0
 gdk-3.0
 pango
+x11
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index 5fa940a..1bb929e 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -2947,13 +2947,13 @@ namespace Gtk {
 	[CCode (cheader_filename = "gtk/gtkx.h")]
 	public class Plug : Gtk.Window, Atk.Implementor, Gtk.Buildable {
 		[CCode (has_construct_function = false, type = "GtkWidget*")]
-		public Plug (Gtk.Window socket_id);
-		public void @construct (Gtk.Window socket_id);
-		public void construct_for_display (Gdk.Display display, Gtk.Window socket_id);
+		public Plug (X.Window socket_id);
+		public void @construct (X.Window socket_id);
+		public void construct_for_display (Gdk.Display display, X.Window socket_id);
 		[CCode (has_construct_function = false, type = "GtkWidget*")]
-		public Plug.for_display (Gdk.Display display, Gtk.Window socket_id);
+		public Plug.for_display (Gdk.Display display, X.Window socket_id);
 		public bool get_embedded ();
-		public unowned Gtk.Window get_id ();
+		public X.Window get_id ();
 		public unowned Gdk.Window get_socket_window ();
 		public bool embedded { get; }
 		public Gdk.Window socket_window { get; }
@@ -3749,8 +3749,8 @@ namespace Gtk {
 	public class Socket : Gtk.Container, Atk.Implementor, Gtk.Buildable {
 		[CCode (has_construct_function = false, type = "GtkWidget*")]
 		public Socket ();
-		public void add_id (Gtk.Window window);
-		public unowned Gtk.Window get_id ();
+		public void add_id (X.Window window);
+		public X.Window get_id ();
 		public unowned Gdk.Window get_plug_window ();
 		public virtual signal void plug_added ();
 		public virtual signal bool plug_removed ();



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]