diff --git a/src/sp-switch.h b/src/sp-switch.h
index 421d562ab0e772c88b5d280b05111202a97e8008..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))
private:
SPObject *_cached_item;
- gulong _release_handler_id;
+ sigc::connection _release_connection;
};
struct SPSwitch : public SPGroup {