Commit 6bb3071a authored by Cosimo Cecchi's avatar Cosimo Cecchi
Browse files

all: don't generate custom signal marshallers

Use the generic GObject marshaller instead.
parent 10f71d7b
......@@ -22,8 +22,6 @@ logview-resources.h: logview.gresource.xml $(ui_files)
$(AM_V_GEN)glib-compile-resources --target=$@ --sourcedir=$(srcdir) --generate-header --c-name logview $(srcdir)/logview.gresource.xml
BUILT_SOURCES = \
logview-marshal.c \
logview-marshal.h \
logview-resources.c \
logview-resources.h
......@@ -61,15 +59,7 @@ gnome_system_log_LDADD = \
$(Z_LIBS) \
-lm
logview-marshal.h: logview-marshal.list $(GLIB_GENMARSHAL)
$(GLIB_GENMARSHAL) $< --header --prefix=logview_marshal >> $@
logview-marshal.c: logview-marshal.list $(GLIB_GENMARSHAL)
echo "#include \"logview-marshal.h\"" > $@ && \
$(GLIB_GENMARSHAL) $< --body --prefix=logview_marshal >> $@
EXTRA_DIST =
logview-marshal.list \
logview.gresource.xml \
$(ui_files)
......
......@@ -30,7 +30,6 @@
#include <glib/gi18n.h>
#include "logview-prefs.h"
#include "logview-marshal.h"
#include "logview-app.h"
enum {
......@@ -112,8 +111,7 @@ logview_manager_class_init (LogviewManagerClass *klass)
G_OBJECT_CLASS_TYPE (object_class),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (LogviewManagerClass, active_changed),
NULL, NULL,
logview_marshal_VOID__OBJECT_OBJECT,
NULL, NULL, NULL,
G_TYPE_NONE, 2,
LOGVIEW_TYPE_LOG,
LOGVIEW_TYPE_LOG);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment