From: Dana Jansens Date: Sat, 21 Jun 2003 02:24:18 +0000 (+0000) Subject: kill a warning X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=4541959b8cce89f566c2599d078ae6a28bda4ead;p=chaz%2Fopenbox kill a warning --- 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;