X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Fbutton.cc;h=8dea882e461c41b07405be9f6d4f868a27242882;hb=7efcff07ea463bd9ae1d374119540fb8dc508489;hp=1b2ef7cec45efee10b191d5353a1f6da47ac45dc;hpb=12a95bfdb31595ec53d72adef4e0fd6bf1ccf218;p=chaz%2Fopenbox diff --git a/otk/button.cc b/otk/button.cc index 1b2ef7ce..8dea882e 100644 --- a/otk/button.cc +++ b/otk/button.cc @@ -1,3 +1,9 @@ +// -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*- + +#ifdef HAVE_CONFIG_H +# include "../config.h" +#endif + #include "button.hh" namespace otk { @@ -14,8 +20,6 @@ OtkButton::OtkButton(OtkWidget *parent) OtkButton::~OtkButton() { - if (_pressed_focus_tx) delete _pressed_focus_tx; - if (_pressed_unfocus_tx) delete _pressed_unfocus_tx; } void OtkButton::press(unsigned int mouse_button)