From f52a27bf798462749f047927a7eff75fa2094741 Mon Sep 17 00:00:00 2001 From: John Luke Date: Thu, 12 Feb 2004 03:56:13 +0000 Subject: [PATCH] compile fixes svn path=/trunk/gtk-sharp/; revision=23011 --- sample/GtkDemo/DemoImages.cs | 2 +- sample/GtkDemo/DemoMain.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sample/GtkDemo/DemoImages.cs b/sample/GtkDemo/DemoImages.cs index 9169664a7..2798fb7df 100644 --- a/sample/GtkDemo/DemoImages.cs +++ b/sample/GtkDemo/DemoImages.cs @@ -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 () ) diff --git a/sample/GtkDemo/DemoMain.cs b/sample/GtkDemo/DemoMain.cs index 9d6b18638..3b203c5d2 100644 --- a/sample/GtkDemo/DemoMain.cs +++ b/sample/GtkDemo/DemoMain.cs @@ -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; }