projects
/
dana
/
openbox-history.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbe2851
)
kill a warning
author
Dana Jansens
<danakj@orodu.net>
Sat, 21 Jun 2003 02:24:18 +0000
(
02:24
+0000)
committer
Dana Jansens
<danakj@orodu.net>
Sat, 21 Jun 2003 02:24:18 +0000
(
02:24
+0000)
openbox/menu.c
patch
|
blob
|
history
openbox/menu.h
patch
|
blob
|
history
diff --git
a/openbox/menu.c
b/openbox/menu.c
index caf3887b69ffff432ab9d97aba7e2ce25f2653ee..a02cda9d61f304376bdaf6ac7b60b659938b54e8 100644
(file)
--- 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 7b0fb678ec63b7fdb49b38b07d4b8b20f7341f82..6cb76a5e67dcceda758287e8dd6e6b8c501254e8 100644
(file)
--- 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;