- Use smart_ptr for tooltips into schedulable_state_widget. Closes task #3.

git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@984 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
tchernobog 2006-09-01 17:20:17 +00:00
parent ad774067e1
commit 6f2c9c3252
2 changed files with 16 additions and 7 deletions

View file

@ -27,7 +27,8 @@
#include "cairo_elements.hh"
#include "cairo_widget.hh"
#include "glibmm/refptr.h"
#include "smartp.tcc"
#include "gtkmm/tooltips.h"
namespace sgpem
@ -50,8 +51,10 @@ namespace sgpem
virtual void calc_widget_size(size_t& width, size_t& height) const;
private:
Color _color;
static Gtk::Tooltips* _ttips;
static memory::smart_ptr<Gtk::Tooltips> _global_ttips;
Color _color;
memory::smart_ptr<Gtk::Tooltips> _ttips;
};
} //~ namespace sgpem