work with recent ruby-gnome2
authorgc <gc>
Sat, 15 Jul 2006 11:05:44 +0000 (11:05 +0000)
committergc <gc>
Sat, 15 Jul 2006 11:05:44 +0000 (11:05 +0000)
bin/booh

index 6d918a57ade3cb8a2fbd19f4638655885056b8d5..8384e84930eb095d56572718b45bc105a0eb3c53 100755 (executable)
--- a/bin/booh
+++ b/bin/booh
@@ -1078,7 +1078,7 @@ def add_thumbnail(autotable, filename, type, thumbnail_img, caption)
         frame1.add(Gtk::HBox.new.pack_start(da1 = Gtk::DrawingArea.new.set_size_request(pxb.width, -1), false, false).
                                  pack_start(img = Gtk::Image.new).
                                  pack_start(da2 = Gtk::DrawingArea.new.set_size_request(pxb.width, -1), false, false))
         frame1.add(Gtk::HBox.new.pack_start(da1 = Gtk::DrawingArea.new.set_size_request(pxb.width, -1), false, false).
                                  pack_start(img = Gtk::Image.new).
                                  pack_start(da2 = Gtk::DrawingArea.new.set_size_request(pxb.width, -1), false, false))
-        px, mask = pxb.render_pixmap_and_mask
+        px, mask = pxb.render_pixmap_and_mask(0)
         da1.signal_connect('realize') { da1.window.set_back_pixmap(px, false) }
         da2.signal_connect('realize') { da2.window.set_back_pixmap(px, false) }
     else
         da1.signal_connect('realize') { da1.window.set_back_pixmap(px, false) }
         da2.signal_connect('realize') { da2.window.set_back_pixmap(px, false) }
     else