aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tray.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tray.c b/tray.c
index a682b86..3a5ea32 100644
--- a/tray.c
+++ b/tray.c
@@ -114,7 +114,7 @@ static void tray_generate_menu()
/* Add a seperator */
GtkWidget* seperator = gtk_separator_menu_item_new();
- gtk_menu_shell_append(menu, seperator);
+ gtk_menu_shell_append(GTK_MENU_SHELL(menu), seperator);
/* Add available governors */
for (i = 0; i < gg_number(); i++)