mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
Fix a leftover window
We were still using container api on a window here.
This commit is contained in:
parent
a7abb394e8
commit
d62ad4e6df
@ -44,7 +44,7 @@ create_dark_popup (GtkWidget *parent)
|
||||
gtk_window_set_resizable (GTK_WINDOW (popup), FALSE);
|
||||
gtk_window_set_hide_on_close (GTK_WINDOW (popup), TRUE);
|
||||
|
||||
gtk_container_add (GTK_CONTAINER (popup), button);
|
||||
gtk_window_set_child (GTK_WINDOW (popup), button);
|
||||
g_signal_connect (button, "toggled",
|
||||
G_CALLBACK (dark_button_toggled_cb), NULL);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user