Commit a6821890 authored by Matthias Clasen's avatar Matthias Clasen

Fix a naming blunder.

parent 48a89ec5
......@@ -1760,8 +1760,8 @@ gtk_menu_get_toplevel (GtkWidget *menu)
}
static void
gtk_tearoff_window_destroyed (GtkWidget *widget,
GtkMenu *menu)
tearoff_window_destroyed (GtkWidget *widget,
GtkMenu *menu)
{
gtk_menu_set_tearoff_state (menu, FALSE);
}
......@@ -1799,7 +1799,7 @@ gtk_menu_set_tearoff_state (GtkMenu *menu,
GDK_WINDOW_TYPE_HINT_MENU);
gtk_window_set_mnemonic_modifier (GTK_WINDOW (menu->tearoff_window), 0);
g_signal_connect (menu->tearoff_window, "destroy",
G_CALLBACK (gtk_tearoff_window_destroyed), menu);
G_CALLBACK (tearoff_window_destroyed), menu);
g_signal_connect (menu->tearoff_window, "event",
G_CALLBACK (gtk_menu_window_event), menu);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment