diff options
Diffstat (limited to 'ext/gtk/test2.rb')
-rw-r--r-- | ext/gtk/test2.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/gtk/test2.rb b/ext/gtk/test2.rb index 170de96185..33215b7f7a 100644 --- a/ext/gtk/test2.rb +++ b/ext/gtk/test2.rb @@ -58,8 +58,8 @@ button.set_flags(Gtk::CAN_FOCUS); button.signal_connect("clicked") do tmp_list = list.selection list.remove_items(tmp_list) - for i in tmp_list - i.destroy + for w in tmp_list + w.destroy end end box2.pack_start(button, FALSE, TRUE, 0) |