QGtkStyle: GTK3 compatible gtk_adjustment_new()
authorJ-P Nurmi <jpnurmi@digia.com>
Thu, 8 Nov 2012 18:04:32 +0000 (19:04 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 8 Nov 2012 21:47:42 +0000 (22:47 +0100)
commit89ccb0a699ff88c58c1f7a6c4db990ecebc87918
tree335f528c954c722790a01ef127fd5f656f2eb0d3
parentede6412104c3cd9d9f30c62d90fa33a23bd58c68
QGtkStyle: GTK3 compatible gtk_adjustment_new()

In GTK3, gtk_adjustment_new() returns GtkAdjustment* and there's no
such thing as GtkObject anymore. Just typedef the function pointer
appropriately and as a bonus we'll save ourselves from the casts. ;)

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