qulogic/libgnt

ef920322679a
gnt: Use default marshaller for GObject signals

Since 2.30 it's been possible to use a default c_marshaller by
passing NULL to g_signal_new(). It has since become the recommended
way of creating signals.
https://developer.gnome.org/gobject/stable/howto-signals.html

This patch ports libgnt to use this method instead of generating its
own marshallers with glib-genmarshal.
CC=gcc
CFLAGS=`pkg-config --cflags gobject-2.0 gmodule-2.0` -g -I../ -DSTANDALONE -I/usr/include/ncursesw/
LDFLAGS=`pkg-config --libs gobject-2.0 gmodule-2.0 gnt` -pg
EXAMPLES=combo focus tv multiwin keys menu parse
all:
make examples
clean:
rm -f $(EXAMPLES) *.so wm
WM: wm
for i in $(EXAMPLES); do gcc -shared $(CFLAGS) -USTANDALONE $(LDFLAGS) $${i}.c -o $${i}.so ; done
examples: $(EXAMPLES)