demos: Make the maze demo non-resizable

It isn't playable if the entrance/exit don't reach the edge
of the window.

Fixes: #6549
This commit is contained in:
Matthias Clasen 2024-03-16 10:07:17 -04:00
parent d007d136c5
commit 2701a2bfdd

View File

@ -338,7 +338,7 @@ do_path_maze (GtkWidget *do_widget)
GskPath *path;
window = gtk_window_new ();
gtk_window_set_resizable (GTK_WINDOW (window), TRUE);
gtk_window_set_resizable (GTK_WINDOW (window), FALSE);
gtk_window_set_title (GTK_WINDOW (window), "Follow the maze with the mouse");
g_object_add_weak_pointer (G_OBJECT (window), (gpointer *)&window);