]> Dogcows Code - chaz/openbox/commitdiff
kill a warning
authorDana Jansens <danakj@orodu.net>
Sat, 21 Jun 2003 02:24:18 +0000 (02:24 +0000)
committerDana Jansens <danakj@orodu.net>
Sat, 21 Jun 2003 02:24:18 +0000 (02:24 +0000)
openbox/menu.c
openbox/menu.h

index caf3887b69ffff432ab9d97aba7e2ce25f2653ee..a02cda9d61f304376bdaf6ac7b60b659938b54e8 100644 (file)
@@ -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);
index 7b0fb678ec63b7fdb49b38b07d4b8b20f7341f82..6cb76a5e67dcceda758287e8dd6e6b8c501254e8 100644 (file)
@@ -69,7 +69,7 @@ typedef enum MenuEntryRenderType {
     MenuEntryRenderType_Other = 1 << 7
 } MenuEntryRenderType;
 
-typedef struct {
+typedef struct MenuEntry {
     char *label;
     Menu *parent;
 
This page took 0.025165 seconds and 4 git commands to generate.