remove warnings

remove obselete code that is no longer in the GTK+ version
update TODO

svn path=/trunk/gtk-sharp/; revision=38099
This commit is contained in:
John Luke 2004-12-26 22:00:32 +00:00
parent 1d72136dd8
commit f38222d9e0
3 changed files with 1 additions and 35 deletions

View file

@ -83,37 +83,6 @@ namespace GtkDemo
box2.BorderWidth = 10;
box1.PackStart (box2, true, true, 0);
menu = Create_Menu (1, false);
menu.AccelGroup = accel_group;
menu.Append (new SeparatorMenuItem ());
menuitem = new CheckMenuItem ("Accelerate Me");
menu.Append (menuitem);
AccelKey ak = new AccelKey ();
ak.Key = (Gdk.Key) 0xFFBE;
menuitem.AddAccelerator ("activate", accel_group, ak);
menuitem = new CheckMenuItem ("Accelerator locked");
menu.Append (menuitem);
AccelKey ak2 = new AccelKey ();
ak2.Key = (Gdk.Key) 0xFFBF;
menuitem.AddAccelerator ("activate", accel_group, ak2);
menuitem = new CheckMenuItem ("Accelerator Frozen");
menu.Append (menuitem);
AccelKey ak3 = new AccelKey ();
ak3.Key = (Gdk.Key) 0xFFC0;
menuitem.AddAccelerator ("activate", accel_group, ak2);
menuitem.AddAccelerator ("activate", accel_group, ak3);
OptionMenu option_menu = new OptionMenu ();
option_menu.Menu = menu;
option_menu.SetHistory (3);
box2.PackStart (option_menu, true, true, 0);
box1.PackStart (new HSeparator (), false, false, 0);
box2 = new VBox (false, 10);
box2.BorderWidth = 10;
box1.PackStart (box2, false, true, 0);

View file

@ -121,7 +121,7 @@ namespace GtkDemo
k = 2 * k * k;
k = Math.Max (0.25, k);
Rectangle r1, r2, dest;
Rectangle r1; /*, r2, dest*/
r1 = new Rectangle (xpos, ypos,(int) (iw * k),
(int) (ih * k));

View file

@ -14,6 +14,3 @@ DemoStockBrowser
DemoHyperText
- finish
DemoEntryCompletion
- set the model