  
  AC_SUBST([COCOA_LIBS])
 diff --git a/gio/Makefile.am b/gio/Makefile.am
-index f9be7ff..a941cb2 100644
+index 242f8ea..7bae14d 100644
 --- a/gio/Makefile.am
 +++ b/gio/Makefile.am
-@@ -265,10 +265,6 @@ unix_sources = \
- 	ggtknotificationbackend.c \
- 	$(NULL)
+@@ -279,10 +279,6 @@ unix_sources = \
+ 
+ appinfo_sources += $(unix_appinfo_sources)
  
 -if OS_COCOA
 -unix_sources += gcocoanotificationbackend.m

+libgio_2_0_la_LDFLAGS += -Wl,-framework,Foundation
 endif
 
 libgio_2_0_la_DEPENDENCIES = $(gio_win32_res) $(gio_def) $(platform_deps)
diff --git a/gio/Makefile.in b/gio/Makefile.in
index f5caca2..6043d76 100644
--- a/gio/Makefile.in
+++ b/gio/Makefile.in
@@ -181,7 +181,6 @@ TESTS = $(am__EXEEXT_2)
 @OS_UNIX_TRUE@am__append_29 = gdesktopappinfo.c
 @OS_UNIX_TRUE@am__append_30 = xdgmime/libxdgmime.la
 @OS_UNIX_TRUE@am__append_31 = xdgmime/libxdgmime.la
-@OS_COCOA_TRUE@@OS_UNIX_TRUE@am__append_32 = gcocoanotificationbackend.m
 @HAVE_NETLINK_TRUE@@OS_UNIX_TRUE@am__append_33 = \
 @HAVE_NETLINK_TRUE@@OS_UNIX_TRUE@	gnetworkmonitornetlink.c \
 @HAVE_NETLINK_TRUE@@OS_UNIX_TRUE@	gnetworkmonitornetlink.h \
@@ -315,7 +314,7 @@ am__libgio_2_0_la_SOURCES_DIST = gappinfo.c gappinfoprivate.h \
 	gunixvolume.c gunixvolume.h gunixvolumemonitor.c \
 	gunixvolumemonitor.h gunixinputstream.c gunixoutputstream.c \
 	gcontenttype.c gcontenttypeprivate.h gfdonotificationbackend.c \
-	ggtknotificationbackend.c gcocoanotificationbackend.m \
+	ggtknotificationbackend.c \
 	gnetworkmonitornetlink.c gnetworkmonitornetlink.h \
 	gnetworkmonitornm.c gnetworkmonitornm.h gdbusdaemon.c \
 	gdbusdaemon.h gdbus-daemon-generated.c \
@@ -371,7 +370,6 @@ am__libgio_2_0_la_SOURCES_DIST = gappinfo.c gappinfoprivate.h \
 @OS_WIN32_TRUE@am__objects_2 = libgio_2_0_la-gwin32appinfo.lo
 am__objects_3 = $(am__objects_1) $(am__objects_2)
 am__objects_4 =
-@OS_COCOA_TRUE@@OS_UNIX_TRUE@am__objects_5 = libgio_2_0_la-gcocoanotificationbackend.lo
 @HAVE_NETLINK_TRUE@@OS_UNIX_TRUE@am__objects_6 = libgio_2_0_la-gnetworkmonitornetlink.lo \
 @HAVE_NETLINK_TRUE@@OS_UNIX_TRUE@	libgio_2_0_la-gnetworkmonitornm.lo \
 @HAVE_NETLINK_TRUE@@OS_UNIX_TRUE@	$(am__objects_4)
@@ -2204,7 +2202,6 @@ distclean-compile:
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libgio_2_0_la-gbytesicon.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libgio_2_0_la-gcancellable.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libgio_2_0_la-gcharsetconverter.Plo@am__quote@

-  backend_class->withdraw_notification = g_cocoa_notification_backend_withdraw_notification;
-}
diff --git a/gio/giomodule.c b/gio/giomodule.c
index dcd523b..f2fc34c 100644
--- a/gio/giomodule.c
+++ b/gio/giomodule.c
@@ -918,10 +918,6 @@ extern GType g_proxy_resolver_portal_get_type (void);
 extern GType g_network_monitor_portal_get_type (void);
 #endif
 
-#ifdef HAVE_COCOA
