From 5e5fdb1666ac4877ca4d26f5ca565a299bc4cc42 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 3 Sep 2003 08:10:51 +0000 Subject: make the client destructor a GDestroyNotify --- openbox/client.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'openbox/client.h') 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(); -- cgit v1.2.3