diff options
author | Tristan Van Berkom <tristan.van.berkom@gmail.com> | 2010-04-08 22:05:36 -0400 |
---|---|---|
committer | Tristan Van Berkom <tristan.van.berkom@gmail.com> | 2010-04-08 22:05:36 -0400 |
commit | b3303727adfca2452a4482631052bae006d0a72a (patch) | |
tree | 6f1ab37f1384f9f1948537f2edc3d1d012dad800 | |
parent | 7304e4227f62dbaf55deafb9fc53854376165b2a (diff) | |
download | gdk-pixbuf-b3303727adfca2452a4482631052bae006d0a72a.tar.gz |
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).
-rw-r--r-- | gtk/gtksizegroup.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gtk/gtksizegroup.c b/gtk/gtksizegroup.c index 245e0827f..b9ac3e2e9 100644 --- a/gtk/gtksizegroup.c +++ b/gtk/gtksizegroup.c @@ -670,8 +670,6 @@ do_size_request (GtkWidget *widget) * 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. */ - widget->requisition.width = 0; - widget->requisition.height = 0; g_signal_emit_by_name (widget, "size-request", &widget->requisition); /* Now get the extended layout minimum and natural size |