mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-14 06:10:21 +00:00
Fix a naming blunder.
This commit is contained in:
parent
48a89ec5c6
commit
a682189045
@ -1760,7 +1760,7 @@ gtk_menu_get_toplevel (GtkWidget *menu)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
gtk_tearoff_window_destroyed (GtkWidget *widget,
|
tearoff_window_destroyed (GtkWidget *widget,
|
||||||
GtkMenu *menu)
|
GtkMenu *menu)
|
||||||
{
|
{
|
||||||
gtk_menu_set_tearoff_state (menu, FALSE);
|
gtk_menu_set_tearoff_state (menu, FALSE);
|
||||||
@ -1799,7 +1799,7 @@ gtk_menu_set_tearoff_state (GtkMenu *menu,
|
|||||||
GDK_WINDOW_TYPE_HINT_MENU);
|
GDK_WINDOW_TYPE_HINT_MENU);
|
||||||
gtk_window_set_mnemonic_modifier (GTK_WINDOW (menu->tearoff_window), 0);
|
gtk_window_set_mnemonic_modifier (GTK_WINDOW (menu->tearoff_window), 0);
|
||||||
g_signal_connect (menu->tearoff_window, "destroy",
|
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_signal_connect (menu->tearoff_window, "event",
|
||||||
G_CALLBACK (gtk_menu_window_event), menu);
|
G_CALLBACK (gtk_menu_window_event), menu);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user