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
2 changed files with 7 additions and 5 deletions
|
@ -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>
|
||||
|
||||
* pango/Scale.cs: rename the size constants to not have
|
||||
|
|
|
@ -25,15 +25,12 @@
|
|||
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")]
|
||||
static extern void gtk_menu_set_screen (IntPtr raw, IntPtr screen);
|
||||
|
||||
public new Gdk.Screen Screen {
|
||||
public new Gdk.Screen Screen {
|
||||
get {
|
||||
return GLib.Object.GetObject (gtk_widget_get_screen (Handle), false) as Gdk.Screen;
|
||||
return base.Screen;
|
||||
}
|
||||
set {
|
||||
gtk_menu_set_screen (Handle, value.Handle);
|
||||
|
|
Loading…
Reference in a new issue