From 8f14f2704860357d1e2d1acc9cffda9244a5c1eb Mon Sep 17 00:00:00 2001 From: Mike Kestner Date: Fri, 13 Feb 2004 21:27:45 +0000 Subject: [PATCH] make sample/test build svn path=/trunk/gtk-sharp/; revision=23080 --- sample/test/TestCombo.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sample/test/TestCombo.cs b/sample/test/TestCombo.cs index d1912e0c0..a5cb147d7 100644 --- a/sample/test/TestCombo.cs +++ b/sample/test/TestCombo.cs @@ -29,7 +29,8 @@ namespace WidgetViewer { box1.PackStart (box2, true, true, 0); combo = new Gtk.Combo (); - combo.SetPopdownStrings ("Foo", "Bar"); + string[] pop = {"Foo", "Bar"}; + combo.PopdownStrings = pop; combo.Entry.Activated += new EventHandler (OnComboActivated); box2.PackStart (combo, true, true, 0); @@ -60,7 +61,7 @@ namespace WidgetViewer { string text = ((Gtk.Entry) o).Text; // combo.AppendString (text); - combo.SetPopdownStrings (text); + // combo.SetPopdownStrings (text); } } }