compile fixes
svn path=/trunk/gtk-sharp/; revision=23011
This commit is contained in:
parent
f526347d5f
commit
f52a27bf79
2 changed files with 3 additions and 3 deletions
|
@ -115,7 +115,7 @@ namespace GtkDemo {
|
||||||
|
|
||||||
private void ToggleSensitivity (object o, EventArgs args)
|
private void ToggleSensitivity (object o, EventArgs args)
|
||||||
{
|
{
|
||||||
GLib.List children = vbox.Children;
|
Widget[] children = vbox.Children;
|
||||||
foreach (Widget widget in children)
|
foreach (Widget widget in children)
|
||||||
/* don't disable our toggle */
|
/* don't disable our toggle */
|
||||||
if (widget.GetType () != o.GetType () )
|
if (widget.GetType () != o.GetType () )
|
||||||
|
|
|
@ -84,8 +84,8 @@ namespace GtkDemo
|
||||||
// The gtk-logo-rgb icon has a white background, make it transparent
|
// The gtk-logo-rgb icon has a white background, make it transparent
|
||||||
Pixbuf transparent = pixbuf.AddAlpha (true, 0xff, 0xff, 0xff);
|
Pixbuf transparent = pixbuf.AddAlpha (true, 0xff, 0xff, 0xff);
|
||||||
|
|
||||||
GLib.List list = new GLib.List (IntPtr.Zero, typeof (Gtk.Widget));
|
Gdk.Pixbuf[] list = new Gdk.Pixbuf [1];
|
||||||
list.Append (transparent.Handle);
|
list[0] = transparent;
|
||||||
|
|
||||||
Gtk.Window.DefaultIconList = list;
|
Gtk.Window.DefaultIconList = list;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue