summaryrefslogtreecommitdiff
path: root/openbox/action.h
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/action.h')
-rw-r--r--openbox/action.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/openbox/action.h b/openbox/action.h
index 3edc96b9..a2f941ed 100644
--- a/openbox/action.h
+++ b/openbox/action.h
@@ -152,7 +152,8 @@ union ActionData {
};
struct _ObAction {
- ObUserAction act;
+ guint ref;
+
/* The func member acts like an enum to tell which one of the structs in
the data union are valid.
*/
@@ -176,7 +177,8 @@ struct _ObAction {
ObAction *action_from_string(const gchar *name, ObUserAction uact);
ObAction *action_parse(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node,
ObUserAction uact);
-void action_free(ObAction *a);
+void action_ref(ObAction *a);
+void action_unref(ObAction *a);
/*! Executes a list of actions.
@param c The client associated with the action. Can be NULL.