mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +00:00
print-editor: Fix a critical
GtkWindow is no longer a container, so don't call gtk_container_add on it.
This commit is contained in:
parent
caab6ac6e7
commit
2b920b22c1
@ -748,7 +748,7 @@ activate (GApplication *app)
|
||||
update_title (GTK_WINDOW (main_window));
|
||||
|
||||
box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
|
||||
gtk_container_add (GTK_CONTAINER (main_window), box);
|
||||
gtk_window_set_child (GTK_WINDOW (main_window), box);
|
||||
|
||||
/* Create document */
|
||||
sw = gtk_scrolled_window_new (NULL, NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user