summaryrefslogtreecommitdiff
path: root/openbox/menu.c
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/menu.c
parent2573b51904e04f366ba4f6b858caa2471cdcb53f (diff)
make the client destructor a GDestroyNotify
Diffstat (limited to 'openbox/menu.c')
-rw-r--r--openbox/menu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbox/menu.c b/openbox/menu.c
index d9541027..75380f1e 100644
--- a/openbox/menu.c
+++ b/openbox/menu.c
@@ -55,11 +55,11 @@ static gboolean menu_open(gchar *file, xmlDocPtr *doc, xmlNodePtr *node)
return loaded;
}
-static void client_dest(ObClient *c)
+static void client_dest(gpointer client)
{
/* menus can be associated with a client, so close any that are since
we are disappearing now */
- menu_frame_hide_all_client(c);
+ menu_frame_hide_all_client(client);
}
void menu_startup()