Code

Indent support for XSLT extensions output.
[inkscape.git] / src / sp-switch.h
index 84fc35298269a95f24233cf57eea9d9e70480ef4..91fdcae46f23c09ef3ce2c888efcf3fe3c57ef51 100644 (file)
@@ -14,6 +14,8 @@
 
 #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))
@@ -38,7 +40,7 @@ public:
     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();
@@ -48,7 +50,7 @@ protected:
 
 private:
     SPObject *_cached_item;
-    gulong _release_handler_id;
+    sigc::connection _release_connection;
 };
 
 struct SPSwitch : public SPGroup {