[patch] add missing style->ref ()
5 Dec
2007
5 Dec
'07
11:09 a.m.
Hello, the tiny patch below adds a missing style->ref() which was causing a lot of crashes on my system. cheers, Johannes diff --git a/dw/fltkui.cc b/dw/fltkui.cc --- a/dw/fltkui.cc +++ b/dw/fltkui.cc @@ -159,6 +159,7 @@ void FltkResource::setStyle (core::style this->style->unref (); this->style = style; + style->ref (); for (Iterator <ViewAndWidget> it = viewsAndWidgets->iterator (); it.hasNext(); ) {
6229
Age (days ago)
6229
Last active (days ago)
1 comments
2 participants
participants (2)
-
jcid@dillo.org
-
Johannes.Hofmann@gmx.de