From a31190ba9d8454b5ab0e0ce3a297b31f2290efe2 Mon Sep 17 00:00:00 2001 From: Miguel de Icaza Date: Tue, 24 Sep 2002 00:35:57 +0000 Subject: [PATCH] More 104 bug fixes svn path=/trunk/gtk-sharp/; revision=7750 --- sample/Fifteen.cs | 8 ++++---- sample/GnomeHelloWorld.cs | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/sample/Fifteen.cs b/sample/Fifteen.cs index 80ed44cbb..68e300893 100644 --- a/sample/Fifteen.cs +++ b/sample/Fifteen.cs @@ -10,7 +10,7 @@ using GtkSharp; public class Fifteen { const int SCRAMBLE_MOVES = 256; - static Window window = null; + static Gtk.Window window = null; static Canvas canvas = null; static BoardPiece [] board; @@ -20,7 +20,7 @@ public class Fifteen BoardPiece.Debug = true; Program fifteen = new Program ("Fifteen", "0.1", Modules.UI, args); - window = new Window ("Fifteen #"); + window = new Gtk.Window ("Fifteen #"); VBox box = new VBox (false, 0); window.Add (box); window.DefaultSize = new Size (300, 300); @@ -86,11 +86,11 @@ public class Fifteen Menu file_menu = new Menu (); ImageMenuItem scramble_item = new ImageMenuItem ("_Scramble"); - scramble_item.Image = new Gtk.Image (Stock.Refresh, IconSize.Menu); + scramble_item.Image = new Gtk.Image (Gtk.Stock.Refresh, IconSize.Menu); scramble_item.Activated += new EventHandler (Scramble); ImageMenuItem quit_item = new ImageMenuItem ("_Quit"); - quit_item.Image = new Gtk.Image (Stock.Quit, IconSize.Menu); + quit_item.Image = new Gtk.Image (Gtk.Stock.Quit, IconSize.Menu); quit_item.Activated += new EventHandler (Quit); file_menu.Append (scramble_item); diff --git a/sample/GnomeHelloWorld.cs b/sample/GnomeHelloWorld.cs index bce3d0a2c..6bb7cf5f8 100644 --- a/sample/GnomeHelloWorld.cs +++ b/sample/GnomeHelloWorld.cs @@ -112,7 +112,7 @@ namespace GtkSamples { args); GnomeHelloWorld hello = new GnomeHelloWorld (); - Window win = hello.CreateWindow (); + Gtk.Window win = hello.CreateWindow (); win.ShowAll (); kit.Run (); return 0;