From ad79032d86616166cb4b60618577a797a7afb9a5 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Sat, 12 May 2012 23:31:27 +0200 Subject: use proper CClosure marshallers for vlc-player and experiment-navigator signals the ...VOID__LONG standard marshaller used worked for INT64 but this wasn't guaranteed (size of LONG is platform-dependant) * now, required marshallers are generated if they don't already exist in gobject, if they do, only an alias is defined * every widget has its own marshaller namespace * exclude marshallers from Doxygen docs --- lib/gtk-experiment-widgets/Makefile.am | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'lib/gtk-experiment-widgets/Makefile.am') diff --git a/lib/gtk-experiment-widgets/Makefile.am b/lib/gtk-experiment-widgets/Makefile.am index 1ff6564..2e1934e 100644 --- a/lib/gtk-experiment-widgets/Makefile.am +++ b/lib/gtk-experiment-widgets/Makefile.am @@ -1,8 +1,11 @@ AM_CFLAGS = -Wall +BUILT_SOURCES = cclosure-marshallers.c cclosure-marshallers.h + lib_LTLIBRARIES = libgtk-experiment-widgets.la libgtk_experiment_widgets_la_SOURCES = gtk-experiment-navigator.c \ gtk-experiment-navigator.h +nodist_libgtk_experiment_widgets_la_SOURCES = $(BUILT_SOURCES) libgtk_experiment_widgets_la_CFLAGS = $(AM_CFLAGS) libgtk_experiment_widgets_la_CPPFLAGS = @@ -19,3 +22,14 @@ libgtk_experiment_widgets_la_LIBADD += @top_srcdir@/lib/experiment-reader/libexp include_HEADERS = gtk-experiment-navigator.h dist_player_data_DATA = gtk-experiment-widgets-catalog.xml + +dist_noinst_DATA = cclosure-marshallers.list +CLEANFILES = $(BUILT_SOURCES) + +MARSHAL_PREFIX = gtk_experiment_navigator_marshal + +cclosure-marshallers.c : cclosure-marshallers.list + @GLIB_GENMARSHAL@ --prefix $(MARSHAL_PREFIX) --body $< >$@ + +cclosure-marshallers.h : cclosure-marshallers.list + @GLIB_GENMARSHAL@ --prefix $(MARSHAL_PREFIX) --header $< >$@ -- cgit v1.2.3