From 7b3d99d5ede436fd773b6f6190e4fb326941e218 Mon Sep 17 00:00:00 2001 From: Pablo Barciela Date: Tue, 6 Aug 2024 13:08:05 +0200 Subject: [PATCH] xrandr-capplet: Fix error -Wincompatible-pointer-types based in mate-control-center commit: https://github.com/mate-desktop/mate-control-center/commit/f164a479add73845f3bc826c2cf04d097db4278e Fixes the error: xrandr-capplet.c: In function 'run_application': /usr/include/glib-2.0/gobject/gtype.h:2660:6: error: passing argument 1 of 'ctk_show_uri_on_window' from incompatible pointer type [-Wincompatible-pointer-types] --- capplets/display/xrandr-capplet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/capplets/display/xrandr-capplet.c b/capplets/display/xrandr-capplet.c index aebe298..ac6bc67 100644 --- a/capplets/display/xrandr-capplet.c +++ b/capplets/display/xrandr-capplet.c @@ -2499,7 +2499,7 @@ run_application (App *app) break; case CTK_RESPONSE_HELP: - ctk_show_uri_on_window (CTK_DIALOG (app->dialog), + ctk_show_uri_on_window (CTK_WINDOW (app->dialog), "help:cafe-user-guide/goscustdesk-70", ctk_get_current_event_time (), &error);