From 7918531657a18523b050a62292267eb5eb8264d6 Mon Sep 17 00:00:00 2001 From: grbd Date: Thu, 30 Jun 2016 17:26:16 +0100 Subject: [PATCH] Small change to allow for building against latest gtk3 --- gtk/Plug.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk/Plug.cs b/gtk/Plug.cs index f2c1cba9f..62f684300 100644 --- a/gtk/Plug.cs +++ b/gtk/Plug.cs @@ -33,7 +33,7 @@ namespace Gtk { { if (GetType () != typeof (Plug)) { CreateNativeObject (new string [0], new GLib.Value [0]); - Construct (socket_id); + Construct (Convert.ToUInt32(socket_id)); return; } Raw = gtk_plug_new (new UIntPtr (socket_id)); @@ -46,7 +46,7 @@ namespace Gtk { { if (GetType () != typeof (Plug)) { CreateNativeObject (new string [0], new GLib.Value [0]); - ConstructForDisplay (display, socket_id); + ConstructForDisplay (display, Convert.ToUInt32(socket_id)); return; } Raw = gtk_plug_new_for_display (display.Handle, new UIntPtr (socket_id));