[gtk/matthiasc/for-master] window: Make resizeability changes work
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-master] window: Make resizeability changes work
- Date: Thu, 19 Aug 2021 20:04:57 +0000 (UTC)
commit f5b6488eb26381512ae2d20083d92e55f473bb51
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Aug 19 16:03:58 2021 -0400
window: Make resizeability changes work
We were forgetting to update the toplevel
properties here.
gtk/gtkwindow.c | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index 700b8dc88a..57f2484d44 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -5580,6 +5580,9 @@ gtk_window_set_resizable (GtkWindow *window,
update_window_actions (window);
+ gtk_window_update_toplevel (window,
+ gtk_window_compute_base_layout (window));
+
gtk_widget_queue_resize (GTK_WIDGET (window));
g_object_notify_by_pspec (G_OBJECT (window), window_props[PROP_RESIZABLE]);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]