Re: [gtkmm] resource file styles and x server resource leak



Paul Davis writes:
 > >void
 > >fake_expose(Gtk::Window *win)
 > >{
 > >    GdkEventExpose evt;
 > >    // snip
 > >    win->expose_event(&evt);
 > >}
 > 
 > this is wrong. if you want a synthetic expose event, use 
 > 
 >      win->queue_draw ();

queue_draw() doesn't fix the resource leak.

thanks for this info nonetheless - you have eliminated
over 100 lines of source code from my development tree :)




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