Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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.

origin commit:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-6&id=fe7f842
  • Loading branch information
Christian Persch authored and raveit65 committed Mar 22, 2018
1 parent c99d768 commit 7d0ac84
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
12 changes: 1 addition & 11 deletions shell/Makefile.am
Expand Up @@ -88,8 +88,6 @@ atril_SOURCES= \
main.c

nodist_atril_SOURCES = \
ev-marshal.c \
ev-marshal.h \
$(NULL)

if ENABLE_DBUS
Expand All @@ -115,7 +113,7 @@ atril_LDADD= \
$(top_builddir)/libmisc/libevmisc.la \
$(SHELL_LIBS)

BUILT_SOURCES = ev-marshal.h ev-marshal.c
BUILT_SOURCES =

if ENABLE_DBUS
BUILT_SOURCES += \
Expand Down Expand Up @@ -150,17 +148,9 @@ atrild_LDADD= \
endif

EXTRA_DIST = \
ev-marshal.list \
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
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-gdbus-generated.c ev-gdbus-generated.h: ev-gdbus.xml Makefile
$(AM_V_GEN) $(GDBUS_CODEGEN) \
--interface-prefix=org.mate.atril \
Expand Down
1 change: 0 additions & 1 deletion shell/ev-marshal.list

This file was deleted.

0 comments on commit 7d0ac84

Please sign in to comment.