Bug#1075258: mate-applets: ftbfs with GCC-14
Control: tags -1 + fixed-upstream
On Wed, Jul 03, 2024 at 12:36:03PM +0000, Matthias Klose wrote:
> command.c:472:59: error: passing argument 1 of ‘gtk_widget_get_accessible’ from incompatible pointer type [-Wincompatible-pointer-types]
> 472 | atk_widget = gtk_widget_get_accessible (command_applet->applet);
> | ~~~~~~~~~~~~~~^~~~~~~~
> | |
> | MatePanelApplet * {aka struct _MatePanelApplet *}
Fixed upstream with a6c354617a1e5876308df5007cd52907b3d742f9, the diff
being this one-liner:
--- a/command/src/command.c
+++ b/command/src/command.c
@@ -469,7 +469,7 @@ command_applet_fill (MatePanelApplet* applet)
"visible",
G_SETTINGS_BIND_DEFAULT);
- atk_widget = gtk_widget_get_accessible (command_applet->applet);
+ atk_widget = gtk_widget_get_accessible (GTK_WIDGET (command_applet->applet));
if (GTK_IS_ACCESSIBLE (atk_widget)) {
atk_object_set_name (atk_widget,
_("Command applet"));
Regards,
Faidon
Reply to: