mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2025-06-25 05:41:19 +00:00
2005-04-05 Alp Toker <alp@atoker.com>
* gtk/Menu.custom: don't re-implement the Screen getter in Gtk.Menu. Instead just return base.Screen, which is implemented by Widget. svn path=/trunk/gtk-sharp/; revision=42546
This commit is contained in:
parent
b59ca6cdba
commit
35c2cf0086
|
@ -1,3 +1,8 @@
|
||||||
|
2005-04-05 Alp Toker <alp@atoker.com>
|
||||||
|
|
||||||
|
* gtk/Menu.custom: don't re-implement the Screen getter in Gtk.Menu.
|
||||||
|
Instead just return base.Screen, which is implemented by Widget.
|
||||||
|
|
||||||
2005-04-04 Dan Winship <danw@novell.com>
|
2005-04-04 Dan Winship <danw@novell.com>
|
||||||
|
|
||||||
* pango/Scale.cs: rename the size constants to not have
|
* pango/Scale.cs: rename the size constants to not have
|
||||||
|
|
|
@ -25,15 +25,12 @@
|
||||||
this.Popup (null, null, null, IntPtr.Zero, 3, Global.CurrentEventTime);
|
this.Popup (null, null, null, IntPtr.Zero, 3, Global.CurrentEventTime);
|
||||||
}
|
}
|
||||||
|
|
||||||
[DllImport("libgtk-win32-2.0-0.dll")]
|
|
||||||
static extern IntPtr gtk_widget_get_screen (IntPtr raw);
|
|
||||||
|
|
||||||
[DllImport("libgtk-win32-2.0-0.dll")]
|
[DllImport("libgtk-win32-2.0-0.dll")]
|
||||||
static extern void gtk_menu_set_screen (IntPtr raw, IntPtr screen);
|
static extern void gtk_menu_set_screen (IntPtr raw, IntPtr screen);
|
||||||
|
|
||||||
public new Gdk.Screen Screen {
|
public new Gdk.Screen Screen {
|
||||||
get {
|
get {
|
||||||
return GLib.Object.GetObject (gtk_widget_get_screen (Handle), false) as Gdk.Screen;
|
return base.Screen;
|
||||||
}
|
}
|
||||||
set {
|
set {
|
||||||
gtk_menu_set_screen (Handle, value.Handle);
|
gtk_menu_set_screen (Handle, value.Handle);
|
||||||
|
|
Loading…
Reference in a new issue