compile fixes

svn path=/trunk/gtk-sharp/; revision=23011
This commit is contained in:
John Luke 2004-02-12 03:56:13 +00:00
parent f526347d5f
commit f52a27bf79
2 changed files with 3 additions and 3 deletions

View file

@ -115,7 +115,7 @@ namespace GtkDemo {
private void ToggleSensitivity (object o, EventArgs args)
{
GLib.List children = vbox.Children;
Widget[] children = vbox.Children;
foreach (Widget widget in children)
/* don't disable our toggle */
if (widget.GetType () != o.GetType () )

View file

@ -84,8 +84,8 @@ namespace GtkDemo
// The gtk-logo-rgb icon has a white background, make it transparent
Pixbuf transparent = pixbuf.AddAlpha (true, 0xff, 0xff, 0xff);
GLib.List list = new GLib.List (IntPtr.Zero, typeof (Gtk.Widget));
list.Append (transparent.Handle);
Gdk.Pixbuf[] list = new Gdk.Pixbuf [1];
list[0] = transparent;
Gtk.Window.DefaultIconList = list;
}