aboutsummaryrefslogtreecommitdiff
path: root/src/Toolbar.cc
diff options
context:
space:
mode:
authorrathnor <rathnor>2003-04-09 17:20:06 (GMT)
committerrathnor <rathnor>2003-04-09 17:20:06 (GMT)
commit51007f35a531c892b1ee2013cc7f180ff20c0744 (patch)
treebd77d6e845d6742d01d11349e5c5095fe27e866a /src/Toolbar.cc
parent2f9ba66d12d67e1a0bdd102d1e665b8b55161fe8 (diff)
downloadfluxbox_pavel-51007f35a531c892b1ee2013cc7f180ff20c0744.zip
fluxbox_pavel-51007f35a531c892b1ee2013cc7f180ff20c0744.tar.bz2
Little fixes to bugs highlighted by valgrind - Simon
Diffstat (limited to 'src/Toolbar.cc')
-rw-r--r--src/Toolbar.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Toolbar.cc b/src/Toolbar.cc
index 4bb877d..00a70e8 100644
--- a/src/Toolbar.cc
+++ b/src/Toolbar.cc
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Toolbar.cc,v 1.67 2003/03/23 04:18:59 rathnor Exp $ 25// $Id: Toolbar.cc,v 1.68 2003/04/09 17:20:04 rathnor Exp $
26 26
27#include "Toolbar.hh" 27#include "Toolbar.hh"
28 28
@@ -194,7 +194,9 @@ Toolbar::Frame::Frame(FbTk::EventHandler &evh, int screen_num):
194 nwbutton(ArrowButton::RIGHT, // arrow type 194 nwbutton(ArrowButton::RIGHT, // arrow type
195 window, // parent 195 window, // parent
196 0, 0, // pos 196 0, 0, // pos
197 1, 1) // size 197 1, 1), // size
198 hour(-1), // start with invalid number to force update
199 minute(-1)
198 200
199{ 201{
200 FbTk::EventManager &evm = *FbTk::EventManager::instance(); 202 FbTk::EventManager &evm = *FbTk::EventManager::instance();