Jeff Hodges wrote:
Looking at this again, I think its the gtk_fixed_new() call that was added in 00ea2ba5. The commit before that (ab8a52) builds fine! Apparently, I didn't go back far enough! I'll look to see if I can't make a patch happen.
--
Jeff

This seems to work.
--
Jeff

diff --git a/shoes/native/cocoa.m b/shoes/native/cocoa.m
index d46a79a..be86fc1 100644
--- a/shoes/native/cocoa.m
+++ b/shoes/native/cocoa.m
@@ -688,7 +688,7 @@ shoes_slot_init(VALUE c, SHOES_SLOT_OS *parent, int x, int y, int width, int hei
   shoes_canvas *canvas;
   SHOES_SLOT_OS *slot;
   Data_Get_Struct(c, shoes_canvas, canvas);
-  slot->canvas = gtk_fixed_new();
+  slot = shoes_slot_alloc(canvas, parent, toplevel);

   slot->controls = parent->controls;
slot->view = [[ShoesView alloc] initWithFrame: NSMakeRect(x, y, width, height) andCanvas: c];

Reply via email to