summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2025-08-07 02:04:38 +0200
committerSlávek Banko <slavek.banko@axis.cz>2025-08-07 02:04:38 +0200
commit38f56e9703f14d024e616d47bd5c68dd88b9169b (patch)
tree75e49703aec4ded411865932e02636cdfe8bd065
parent28702b2f77c35b8ed3cb6b0d4ff4d7ccc2755755 (diff)
downloadgtk-qt-engine-38f56e9703f14d024e616d47bd5c68dd88b9169b.tar.gz
gtk-qt-engine-38f56e9703f14d024e616d47bd5c68dd88b9169b.zip
Use the complete definition of the prototype function gtk_style_render_icon.HEADmaster
This solves FTBFS in checking the compatibility of pointers. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--src/qt_theme_draw.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/qt_theme_draw.c b/src/qt_theme_draw.c
index 7e20861..2723bb2 100644
--- a/src/qt_theme_draw.c
+++ b/src/qt_theme_draw.c
@@ -32,7 +32,13 @@
extern gboolean tde_showIconsOnPushButtons;
-static GdkPixbuf * (*stockRenderIcon)() = NULL;
+static GdkPixbuf * (*stockRenderIcon)(GtkStyle*,
+ const GtkIconSource*,
+ GtkTextDirection,
+ GtkStateType,
+ GtkIconSize,
+ GtkWidget*,
+ const gchar*) = NULL;
// static void * (*stockDrawString)() = NULL;
static void qtengine_style_init (QtEngineStyle *style);