Gtk--: Interface change from 1.0.0 to 1.0.1 ??



Hi,

I've come across a change in Gtk-- 1.0.1 (as compared to 1.0.0)
which breaks compilation of my code. Chances are I'm doing something
that I shouldn't be, but after looking at accelgroup.h, I'm at a loss
how things should now work. Here's the relevant code snippet (my code):

TFWindow::TFWindow() : GuiBufferedDrawingArea (),
               d_accelGroup ()
{
     d_menuHash->insert (s, d_itemFactory->create_item (s, 0, "<Branch>", 0));
     < ... snip ...>
     d_accelGroup.attach (d_win);
     < ... snip ...>
}


The relevant part of accelgroup.h in 1.0.1 now reads:

// Disabled since these are internal functions
//   void attach(Gtk_Object &obj);
//   void detach(Gtk_Object &obj);


Since apparently attach() and detach() are/were/have become internal,
how should the accelgroup be attached to the window?

Thanks
--> Robert



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]