From kde-commits Sun Sep 30 21:51:02 2012 From: Ruslan Kabatsayev Date: Sun, 30 Sep 2012 21:51:02 +0000 To: kde-commits Subject: [oxygen-gtk/gtk3-1.1] src/animations: Set groupbox label state as resized before actually resizing i Message-Id: <20120930215103.025B3A605D () git ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=134904187604424 Git commit 74c57cf58cd2f57edad668d7fa1f67aab44f52f7 by Ruslan Kabatsayev. Committed on 30/09/2012 at 23:48. Pushed by kabatsayev into branch 'gtk3-1.1'. Set groupbox label state as resized before actually resizing it to prevent = infinite recursion CCBUG: 305833 M +2 -1 src/animations/oxygengroupboxlabeldata.h http://commits.kde.org/oxygen-gtk/74c57cf58cd2f57edad668d7fa1f67aab44f52f7 diff --git a/src/animations/oxygengroupboxlabeldata.h b/src/animations/oxyg= engroupboxlabeldata.h index 21c7d36..a34e165 100644 --- a/src/animations/oxygengroupboxlabeldata.h +++ b/src/animations/oxygengroupboxlabeldata.h @@ -57,8 +57,9 @@ namespace Oxygen if( allocation.height > 1 ) { = - gtk_widget_set_size_request( widget, allocation.width, all= ocation.height+14 ); + // Save resized state before actually resizing to prevent = infinite recursion (bug 305833) _resized =3D true; + gtk_widget_set_size_request( widget, allocation.width, all= ocation.height+14 ); = } }