From kde-commits Sun Sep 30 21:56:59 2012 From: Ruslan Kabatsayev Date: Sun, 30 Sep 2012 21:56:59 +0000 To: kde-commits Subject: [oxygen-gtk] src/animations: Set groupbox label state as resized before actually resizing it to prev Message-Id: <20120930215659.1BDE6A605D () git ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=134904223804504 Git commit 10493def8545b259cc4342c208934295b6e5bd09 by Ruslan Kabatsayev. Committed on 30/09/2012 at 23:48. Pushed by kabatsayev into branch 'master'. Set groupbox label state as resized before actually resizing it to prevent = infinite recursion M +2 -1 src/animations/oxygengroupboxlabeldata.h http://commits.kde.org/oxygen-gtk/10493def8545b259cc4342c208934295b6e5bd09 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 ); = } }