mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-24 04:31:06 +00:00
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:
parent
d007d136c5
commit
2701a2bfdd
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user