Skip to content

Commit b220914

Browse files
committed
dhcpcd-gtk: new glib causes deprecated warnings on old Gtk+
So just ignore them as this program is fixed to Gtk+2 and the systray icon it uses will be removed entirely in Gtk+4. As such a new implementation will need to be written.
1 parent bca0896 commit b220914

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/dhcpcd-gtk/Makefile

+5
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ CPPFLAGS+= ${NOTIFY} -I${TOPDIR}
1515
CFLAGS+= ${GTK_CFLAGS}
1616
LDADD+= ${LIB_DHCPCD} ${GTK_LIBS}
1717

18+
# new glib causes deprecated warnings on old Gtk+.
19+
# A different Gtk+ front end needs to be written anyway as the systray
20+
# is gone in Gtk+4.
21+
CFLAGS+= -Wno-deprecated-declarations
22+
1823
.PHONY: dhcpcd-gtk
1924

2025
include ../libdhcpcd/Makefile.inc

0 commit comments

Comments
 (0)