QGtkStyle: use gtk_widget_get/set_allocation()
authorJ-P Nurmi <jpnurmi@digia.com>
Mon, 8 Oct 2012 13:59:09 +0000 (15:59 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 10 Oct 2012 06:45:22 +0000 (08:45 +0200)
commite91b27b610066a10e27cfa6e3994c5d029c317c2
tree4a19089ae7472444de9f18d6ac91497c4f5bdf7c
parent3c05a0f3e7cad3ef4738eb11df4d427c8dbc13e8
QGtkStyle: use gtk_widget_get/set_allocation()

Do not access GtkWidget::allocation directly, it doesn't exist in GTK3.

Change-Id: I8ce69fab19ce8f3afe35d0d30d4e28b0348fdaf1
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
src/widgets/styles/qgtkstyle.cpp
src/widgets/styles/qgtkstyle_p.cpp
src/widgets/styles/qgtkstyle_p.h