[evince] shell: Remove unused marshalers



commit fe7f842344068260462aa8a6f9956d040c8a49de
Author: Christian Persch <chpe gnome org>
Date:   Thu Jun 14 00:04:18 2012 +0200

    shell: Remove unused marshalers
    
    Since there was only the one, also remove the whole glib-genmarshal setup.
    If we ever need another non-stock marshaler, we'll just use the new glib
    generic marshaler.

 shell/Makefile.am     |   12 ------------
 shell/ev-marshal.list |    1 -
 2 files changed, 0 insertions(+), 13 deletions(-)
---
diff --git a/shell/Makefile.am b/shell/Makefile.am
index 983aaf9..ce6d7d3 100644
--- a/shell/Makefile.am
+++ b/shell/Makefile.am
@@ -88,8 +88,6 @@ evince_SOURCES=				\
 	main.c
 
 nodist_evince_SOURCES = \
-	ev-marshal.c \
-	ev-marshal.h \
 	ev-resources.c \
 	$(NULL)
 
@@ -129,8 +127,6 @@ evince-icon.o: $(srcdir)/evince-icon.rc $(top_srcdir)/data/evince.ico
 endif
 
 BUILT_SOURCES = \
-	ev-marshal.c \
-	ev-marshal.h \
 	ev-resources.c
 
 if ENABLE_DBUS
@@ -163,7 +159,6 @@ evinced_LDADD=				\
 endif
 
 EXTRA_DIST = \
-	ev-marshal.list \
 	evince-icon.rc \
 	evince-ui.xml \
 	evince-toolbar.xml \
@@ -171,13 +166,6 @@ EXTRA_DIST = \
 	ev-gdbus.xml \
 	ev-daemon-gdbus.xml
 
-ev-marshal.h: $(srcdir)/ev-marshal.list
-	$(AM_V_GEN)$(GLIB_GENMARSHAL) --prefix=ev_marshal $(srcdir)/ev-marshal.list --header > ev-marshal.h
-
-ev-marshal.c: $(srcdir)/ev-marshal.list
-	$(AM_V_at)echo '#include "ev-marshal.h"' > ev-marshal.c
-	$(AM_V_GEN)$(GLIB_GENMARSHAL) --prefix=ev_marshal $(srcdir)/ev-marshal.list --body >> ev-marshal.c
-
 ev-resources.c: evince.gresource.xml Makefile $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies --sourcedir $(srcdir) $(srcdir)/evince.gresource.xml)
 	$(AM_V_GEN) XMLLINT=$(XMLLINT) $(GLIB_COMPILE_RESOURCES) --target $@ --sourcedir $(srcdir) --generate-source --c-name ev $<
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]