Skip to content

Commit

Permalink
dhcpcd-gtk: new glib causes deprecated warnings on old Gtk+
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
rsmarples committed Apr 23, 2023
1 parent bca0896 commit b220914
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/dhcpcd-gtk/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ CPPFLAGS+= ${NOTIFY} -I${TOPDIR}
CFLAGS+= ${GTK_CFLAGS}
LDADD+= ${LIB_DHCPCD} ${GTK_LIBS}

# new glib causes deprecated warnings on old Gtk+.
# A different Gtk+ front end needs to be written anyway as the systray
# is gone in Gtk+4.
CFLAGS+= -Wno-deprecated-declarations

.PHONY: dhcpcd-gtk

include ../libdhcpcd/Makefile.inc
Expand Down

0 comments on commit b220914

Please sign in to comment.