From 38f56e9703f14d024e616d47bd5c68dd88b9169b Mon Sep 17 00:00:00 2001
From: Slávek Banko <slavek.banko@axis.cz>
Date: Thu, 7 Aug 2025 02:04:38 +0200
Subject: Use the complete definition of the prototype function
 gtk_style_render_icon. This solves FTBFS in checking the compatibility of
 pointers.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
---
 src/qt_theme_draw.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

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);
-- 
cgit v1.2.3

