From 4541959b8cce89f566c2599d078ae6a28bda4ead Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 21 Jun 2003 02:24:18 +0000 Subject: [PATCH] kill a warning --- openbox/menu.c | 2 +- openbox/menu.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/openbox/menu.c b/openbox/menu.c index caf3887b..a02cda9d 100644 --- a/openbox/menu.c +++ b/openbox/menu.c @@ -72,7 +72,7 @@ void menu_startup() Action *a; menu_hash = g_hash_table_new_full(g_str_hash, g_str_equal, - menu_destroy_hash_key, + (GDestroyNotify)menu_destroy_hash_key, (GDestroyNotify)menu_destroy_hash_value); m = menu_new("sex menu", "root", NULL); diff --git a/openbox/menu.h b/openbox/menu.h index 7b0fb678..6cb76a5e 100644 --- a/openbox/menu.h +++ b/openbox/menu.h @@ -69,7 +69,7 @@ typedef enum MenuEntryRenderType { MenuEntryRenderType_Other = 1 << 7 } MenuEntryRenderType; -typedef struct { +typedef struct MenuEntry { char *label; Menu *parent; -- 2.39.2