summaryrefslogtreecommitdiffstats
path: root/src/gui/styles/qgtkstyle_p.cpp
diff options
context:
space:
mode:
authorRobert Griebl <rgriebl@trolltech.com>2009-12-08 16:10:57 (GMT)
committerRobert Griebl <rgriebl@trolltech.com>2009-12-08 17:03:51 (GMT)
commitf3c37838ab149a8a570b7f1df987705815ae45c0 (patch)
treec28ff9bcb1cc42aabe181ed58fdc10c1ab0dd314 /src/gui/styles/qgtkstyle_p.cpp
parent971acc6d34559a2c5035888a5891ea29ad8628af (diff)
downloadQt-f3c37838ab149a8a570b7f1df987705815ae45c0.zip
Qt-f3c37838ab149a8a570b7f1df987705815ae45c0.tar.gz
Qt-f3c37838ab149a8a570b7f1df987705815ae45c0.tar.bz2
QGtkStyle: support for the inner-border property in GtkButtons
This additional padding was not taken into account up to now. It didn't matter for desktop themes, but Maemo5 uses a large (8pix) padding that can not be ignored. Reviewed-by: jbache
Diffstat (limited to 'src/gui/styles/qgtkstyle_p.cpp')
-rw-r--r--src/gui/styles/qgtkstyle_p.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/styles/qgtkstyle_p.cpp b/src/gui/styles/qgtkstyle_p.cpp
index 22dfc62..a644a5b 100644
--- a/src/gui/styles/qgtkstyle_p.cpp
+++ b/src/gui/styles/qgtkstyle_p.cpp
@@ -158,6 +158,7 @@ Ptr_gtk_window_get_type QGtkStylePrivate::gtk_window_get_type = 0;
Ptr_gtk_widget_get_type QGtkStylePrivate::gtk_widget_get_type = 0;
Ptr_gtk_rc_get_style_by_paths QGtkStylePrivate::gtk_rc_get_style_by_paths = 0;
Ptr_gtk_check_version QGtkStylePrivate::gtk_check_version = 0;
+Ptr_gtk_border_free QGtkStylePrivate::gtk_border_free = 0;
Ptr_pango_font_description_get_size QGtkStylePrivate::pango_font_description_get_size = 0;
Ptr_pango_font_description_get_weight QGtkStylePrivate::pango_font_description_get_weight = 0;
@@ -416,6 +417,7 @@ void QGtkStylePrivate::resolveGtk() const
gtk_widget_get_type =(Ptr_gtk_widget_get_type)libgtk.resolve("gtk_widget_get_type");
gtk_rc_get_style_by_paths =(Ptr_gtk_rc_get_style_by_paths)libgtk.resolve("gtk_rc_get_style_by_paths");
gtk_check_version =(Ptr_gtk_check_version)libgtk.resolve("gtk_check_version");
+ gtk_border_free =(Ptr_gtk_border_free)libgtk.resolve("gtk_border_free");
pango_font_description_get_size = (Ptr_pango_font_description_get_size)libgtk.resolve("pango_font_description_get_size");
pango_font_description_get_weight = (Ptr_pango_font_description_get_weight)libgtk.resolve("pango_font_description_get_weight");
pango_font_description_get_family = (Ptr_pango_font_description_get_family)libgtk.resolve("pango_font_description_get_family");