{
if(valuewidget)
return valuewidget->get_value();
- return synfig::ValueBase();
+
+ warning("%s:%d this code shouldn't be reached", __FILE__, __LINE__);
+ return *(new synfig::ValueBase());
}
+
const Glib::ustring &get_path()
{
return path;
CellRenderer_ValueBase::~CellRenderer_ValueBase()
{
-// synfig::info("CellRenderer_ValueBase::~CellRenderer_ValueBase(): deleted");
+ if (getenv("SYNFIG_DEBUG_DESTRUCTORS"))
+ synfig::info("CellRenderer_ValueBase::~CellRenderer_ValueBase(): Deleted");
}
void
Gtk::CellEditable*
CellRenderer_ValueBase::start_editing_vfunc(
- GdkEvent* event,
+ GdkEvent* event __attribute__ ((unused)),
Gtk::Widget& widget,
const Glib::ustring& path,
- const Gdk::Rectangle& background_area,
- const Gdk::Rectangle& cell_area,
- Gtk::CellRendererState flags)
+ const Gdk::Rectangle& background_area __attribute__ ((unused)),
+ const Gdk::Rectangle& cell_area __attribute__ ((unused)),
+ Gtk::CellRendererState flags __attribute__ ((unused)))
{
// If we aren't editable, then there is nothing to do
if(!property_editable())