File: 0001_fix_ftbfs_with_gcc14.patch

package info (click to toggle)
mate-applets 1.26.1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 55,320 kB
  • sloc: ansic: 24,118; makefile: 1,665; xml: 525; sh: 55
file content (16 lines) | stat: -rw-r--r-- 664 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Fix FTBFS with GCC 14
Origin: upstream, commit:a6c354617a1e5876308df5007cd52907b3d742f9
Bug-Debian: https://bugs.debian.org/1075258
Last-Update: 2024-09-05

--- 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"));