mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-19 18:00:09 +00:00
Fixed regression in GtkImage size requests
Fixed gtksizegroup.c:do_size_request() to never force an initial requisition as some widgets expect it to remain unchanged across resizes (GtkImage with pixbufs/filenames assigned is one of these cases).
This commit is contained in:
parent
7304e4227f
commit
b3303727ad
@ -670,8 +670,6 @@ do_size_request (GtkWidget *widget)
|
|||||||
* Note here that there is no convention of filling the argument or widget->requisition,
|
* Note here that there is no convention of filling the argument or widget->requisition,
|
||||||
* so we have no choice but to fire size request with this pointer.
|
* so we have no choice but to fire size request with this pointer.
|
||||||
*/
|
*/
|
||||||
widget->requisition.width = 0;
|
|
||||||
widget->requisition.height = 0;
|
|
||||||
g_signal_emit_by_name (widget, "size-request", &widget->requisition);
|
g_signal_emit_by_name (widget, "size-request", &widget->requisition);
|
||||||
|
|
||||||
/* Now get the extended layout minimum and natural size
|
/* Now get the extended layout minimum and natural size
|
||||||
|
Loading…
Reference in New Issue
Block a user