diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-06-21 02:24:18 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-06-21 02:24:18 +0000 |
| commit | 4541959b8cce89f566c2599d078ae6a28bda4ead (patch) | |
| tree | 0694663925beb08e4ff7c648f2af910895d69a5b /openbox | |
| parent | dbe2851b910dcdb02afbb744dbb2926286ab8f65 (diff) | |
kill a warning
Diffstat (limited to 'openbox')
| -rw-r--r-- | openbox/menu.c | 2 | ||||
| -rw-r--r-- | 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; |
