Skip to content

Commit

Permalink
xrandr-capplet: Fix error -Wincompatible-pointer-types
Browse files Browse the repository at this point in the history
based in mate-control-center commit:
mate-desktop/mate-control-center@f164a47

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]
  • Loading branch information
sc0w committed Aug 6, 2024
1 parent 9cbeedf commit 7b3d99d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion capplets/display/xrandr-capplet.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 7b3d99d

Please sign in to comment.