summaryrefslogtreecommitdiff
path: root/openbox/client.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-09-03 08:10:51 +0000
committerDana Jansens <danakj@orodu.net>2003-09-03 08:10:51 +0000
commit5e5fdb1666ac4877ca4d26f5ca565a299bc4cc42 (patch)
tree2c2cee4f1530a9099727e8475e0d43421e066904 /openbox/client.h
parent2573b51904e04f366ba4f6b858caa2471cdcb53f (diff)
make the client destructor a GDestroyNotify
Diffstat (limited to 'openbox/client.h')
-rw-r--r--openbox/client.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/openbox/client.h b/openbox/client.h
index b28acab2..e257ad9d 100644
--- a/openbox/client.h
+++ b/openbox/client.h
@@ -243,10 +243,8 @@ extern GList *client_list;
void client_startup();
void client_shutdown();
-typedef void (*ObClientDestructorFunc)(ObClient *c);
-
-void client_add_destructor(ObClientDestructorFunc func);
-void client_remove_destructor(ObClientDestructorFunc func);
+void client_add_destructor(GDestroyNotify func);
+void client_remove_destructor(GDestroyNotify func);
/*! Manages all existing windows */
void client_manage_all();