It fails to build
make[2]: ingresso nella directory «/home/gotux/Scaricati/xfce4-hotcorner-plugin/src/xfce4-hotcorner-plugin-0.0.4/src»
CC libhotcorner_la-hotcorner.lo
CC libhotcorner_la-util.lo
util.c: In function 'toggle_desktop':
util.c:50:9: error: 'wnck_screen_get_default' is deprecated: Use 'wnck_handle_get_default_screen' instead [-Werror=deprecated-declarations]
50 | WnckScreen *wnck = wnck_screen_get_default();
| ^~~~~~~~~~
In file included from /usr/include/libwnck-3.0/libwnck/wnck-handle.h:26,
from /usr/include/libwnck-3.0/libwnck/libwnck.h:26,
from util.c:21:
/usr/include/libwnck-3.0/libwnck/screen.h:198:16: note: declared here
198 | WnckScreen* wnck_screen_get_default (void);
| ^~~~~~~~~~~~~~~~~~~~~~~
hotcorner.c: In function 'check_hot_corner_action':
hotcorner.c:229:17: error: 'wnck_screen_get_default' is deprecated: Use 'wnck_handle_get_default_screen' instead [-Werror=deprecated-declarations]
229 | WnckScreen *wnckScreen = wnck_screen_get_default();
| ^~~~~~~~~~
In file included from /usr/include/libwnck-3.0/libwnck/wnck-handle.h:26,
from /usr/include/libwnck-3.0/libwnck/libwnck.h:26,
from hotcorner.h:25,
from hotcorner.c:20:
/usr/include/libwnck-3.0/libwnck/screen.h:198:16: note: declared here
198 | WnckScreen* wnck_screen_get_default (void);
| ^~~~~~~~~~~~~~~~~~~~~~~
hotcorner.c: In function 'hotCorner_new':
hotcorner.c:288:13: error: 'xfce_panel_image_new_from_source' is deprecated: Use gtk_image_new() and xfce_panel_set_image_from_source() instead [-Werror=deprecated-declarations]
288 | xfce_panel_image_new_from_source(HOTCORNER_ICON_NAME);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/libxfce4panel.h:33,
from hotcorner.h:22:
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-image.h:77:12: note: declared here
77 | GtkWidget *xfce_panel_image_new_from_source (const gchar *source)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hotcorner.c: In function 'on_open_configure_window':
hotcorner.c:511:13: error: 'xfce_titled_dialog_new_with_buttons' is deprecated: Use xfce_titled_dialog_new_with_mixed_buttons() instead [-Werror=deprecated-declarations]
511 | xfce_titled_dialog_new_with_buttons(_("HotCorner"),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/xfce4/libxfce4ui-2/libxfce4ui/libxfce4ui.h:35,
from hotcorner.h:24:
/usr/include/xfce4/libxfce4ui-2/libxfce4ui/xfce-titled-dialog.h:71:23: note: declared here
71 | GtkWidget *xfce_titled_dialog_new_with_buttons (const gchar *title,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[2]: *** [Makefile:560: libhotcorner_la-util.lo] Error 1
make[2]: *** Attesa per i processi non terminati....
cc1: all warnings being treated as errors
make[2]: *** [Makefile:553: libhotcorner_la-hotcorner.lo] Error 1
make[2]: uscita dalla directory «/home/gotux/Scaricati/xfce4-hotcorner-plugin/src/xfce4-hotcorner-plugin-0.0.4/src»
make[1]: *** [Makefile:484: all-recursive] Error 1
make[1]: uscita dalla directory «/home/gotux/Scaricati/xfce4-hotcorner-plugin/src/xfce4-hotcorner-plugin-0.0.4»
make: *** [Makefile:416: all] Error 2
Pinned Comments
ckoba commented on 2022-05-24 21:18 (UTC)
This package has been updated to 0.0.3.
It now appears to work properly on modern xfce4.