mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-24 17:25:28 +00:00
Obsolete and fwd Widget.GdkWindow property.
* gtk/Widget.custom: mark GdkWindow obsolete and forward it to the Window property which is read/write in 3.0. [Fixes #688791]
This commit is contained in:
parent
e79c46cdcb
commit
256a80399c
|
@ -24,16 +24,10 @@
|
|||
// Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
// Boston, MA 02111-1307, USA.
|
||||
|
||||
[DllImport ("gtksharpglue-3")]
|
||||
static extern void gtksharp_gtk_widget_set_window (IntPtr widget, IntPtr window);
|
||||
[Obsolete ("Replaced by Window property.")]
|
||||
public Gdk.Window GdkWindow {
|
||||
get {
|
||||
return this.Window;
|
||||
}
|
||||
set {
|
||||
Gdk.Window window = value as Gdk.Window;
|
||||
gtksharp_gtk_widget_set_window (Handle, window.Handle);
|
||||
}
|
||||
get { return Window; }
|
||||
set { Window = value; }
|
||||
}
|
||||
|
||||
public void AddAccelerator (string accel_signal, AccelGroup accel_group, AccelKey accel_key)
|
||||
|
|
Loading…
Reference in a new issue