Commit 9e661ed0 authored by Matthias Clasen's avatar Matthias Clasen
Browse files

Unify handling of GtkWindow::resizable property

parent b3681995
......@@ -7970,14 +7970,19 @@ gtk_window_set_resizable (GtkWindow *window,
priv = window->priv;
priv->resizable = (resizable != FALSE);
resizable = (resizable != FALSE);
g_object_notify (G_OBJECT (window), "resizable");
if (priv->resizable != resizable)
{
priv->resizable = (resizable != FALSE);
if (priv->grip_window != NULL)
update_grip_visibility (window);
if (priv->grip_window != NULL)
update_grip_visibility (window);
gtk_widget_queue_resize_no_redraw (GTK_WIDGET (window));
gtk_widget_queue_resize_no_redraw (GTK_WIDGET (window));
g_object_notify (G_OBJECT (window), "resizable");
}
}
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment