diff --git a/src/sp-switch.h b/src/sp-switch.h
index 84fc35298269a95f24233cf57eea9d9e70480ef4..91fdcae46f23c09ef3ce2c888efcf3fe3c57ef51 100644 (file)
--- a/src/sp-switch.h
+++ b/src/sp-switch.h
#include "sp-item-group.h"
+#include <sigc++/connection.h>
+
#define SP_TYPE_SWITCH (CSwitch::getType())
#define SP_SWITCH(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SP_TYPE_SWITCH, SPSwitch))
#define SP_SWITCH_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SP_TYPE_SWITCH, SPSwitchClass))
virtual gchar *getDescription();
protected:
- virtual GSList *_childList(bool add_ref, Action action);
+ virtual GSList *_childList(bool add_ref, SPObject::Action action);
virtual void _showChildren (NRArena *arena, NRArenaItem *ai, unsigned int key, unsigned int flags);
SPObject *_evaluateFirst();
private:
SPObject *_cached_item;
- gulong _release_handler_id;
+ sigc::connection _release_connection;
};
struct SPSwitch : public SPGroup {