lib/knj/jruby-gtk2/gladexml.rb in knjrbfw-0.0.72 vs lib/knj/jruby-gtk2/gladexml.rb in knjrbfw-0.0.74
- old
+ new
@@ -12,10 +12,10 @@
@glade = org.gnome.glade.Glade::parse(filename, window_name)
else
cont = filename
@data = XmlSimple.xml_in(cont)
window_name = self.find_window(data)
- Knj::Php.file_put_contents("temp.glade", cont)
+ Php4r.file_put_contents("temp.glade", cont)
@glade = org.gnome.glade.Glade::parse("temp.glade", window_name)
FileUtils.rm("temp.glade")
end
if block_given?
\ No newline at end of file