summaryrefslogtreecommitdiffstats
path: root/src/gui/styles/qgtkstyle_p.h
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.h
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.h')
-rw-r--r--src/gui/styles/qgtkstyle_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/styles/qgtkstyle_p.h b/src/gui/styles/qgtkstyle_p.h
index f6ab8a3..c27308f 100644
--- a/src/gui/styles/qgtkstyle_p.h
+++ b/src/gui/styles/qgtkstyle_p.h
@@ -176,6 +176,7 @@ typedef GtkWidget* (*Ptr_gtk_file_chooser_dialog_new)(const gchar *title,
typedef void (*Ptr_gtk_file_chooser_set_current_name) (GtkFileChooser *, const gchar *);
typedef gboolean (*Ptr_gtk_file_chooser_set_filename) (GtkFileChooser *chooser, const gchar *name);
typedef gint (*Ptr_gtk_dialog_run) (GtkDialog*);
+typedef void (*Ptr_gtk_border_free)(GtkBorder *);
typedef guchar* (*Ptr_gdk_pixbuf_get_pixels) (const GdkPixbuf *pixbuf);
typedef int (*Ptr_gdk_pixbuf_get_width) (const GdkPixbuf *pixbuf);
@@ -371,6 +372,7 @@ public:
static Ptr_gtk_widget_get_type gtk_widget_get_type;
static Ptr_gtk_rc_get_style_by_paths gtk_rc_get_style_by_paths;
static Ptr_gtk_check_version gtk_check_version;
+ static Ptr_gtk_border_free gtk_border_free;
static Ptr_pango_font_description_get_size pango_font_description_get_size;
static Ptr_pango_font_description_get_weight pango_font_description_get_weight;