Re: [gtkmm] resource file styles and x server resource leak
- From: pks timing com
- To: Paul Davis <paul linuxaudiosystems com>
- Cc: gtkmm-list gnome org
- Subject: Re: [gtkmm] resource file styles and x server resource leak
- Date: Tue, 15 Apr 2003 10:35:04 -0600
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]