mirror of https://github.com/GNOME/gimp.git
app: don't set a permanent size request on the canvas
Reset the canvas size request from gimp_display_shell_constructed() in gimp_display_shell_canvas_size_allocate() so the image window can be made smaller again. GTK+ 3.x always respects size requests.
This commit is contained in:
parent
ce02f4ad05
commit
0ecf0818a5
|
@ -213,6 +213,9 @@ gimp_display_shell_canvas_size_allocate (GtkWidget *widget,
|
|||
/* Reset */
|
||||
shell->size_allocate_from_configure_event = FALSE;
|
||||
}
|
||||
|
||||
/* undo size request from gimp_display_shell_constructed() */
|
||||
gtk_widget_set_size_request (widget, -1, -1);
|
||||
}
|
||||
|
||||
gboolean
|
||||
|
|
Loading…
Reference in New Issue