aboutsummaryrefslogtreecommitdiffhomepage
path: root/gtk/makefile
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2016-04-26 17:09:25 +0200
committerThomas Martitz <kugel@rockbox.org>2016-04-26 17:09:25 +0200
commit17a38b0f6efc4a0d847ab502773dafa9939999d8 (patch)
tree4b0cc8c8e07e9decdc8862a06a6f6fbdeeedcb12 /gtk/makefile
parent8d4062a828ec5800b31cac519df11782d2ea4c06 (diff)
downloadscintilla-mirror-17a38b0f6efc4a0d847ab502773dafa9939999d8.tar.gz
Enable g-ir-scanner to scan ScintillaObject signals
Currently, the ScintillaObject signals can't be used from python code via gobject-introspection. This is because g-ir-scanner does not properly scan the signals. For signals, there is the additional requirement that parameters have are registered GTypes. For the sci-notify signal, this can be accomplished by boxing SCNotification. In addition, g-ir-scanner also runs on Scintilla.h where it picks up additional structs. test/gi/ is updated accordingly. The test python script is enhanced to showcase the signals (some fixes to the makefile are included as well).
Diffstat (limited to 'gtk/makefile')
-rw-r--r--gtk/makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk/makefile b/gtk/makefile
index 8fd92f6db..a4d46d9a0 100644
--- a/gtk/makefile
+++ b/gtk/makefile
@@ -78,7 +78,6 @@ CFLAGS:=$(CTFLAGS)
CXXTFLAGS:=--std=gnu++0x $(CTFLAGS) $(REFLAGS)
CONFIGFLAGS:=$(shell pkg-config --cflags $(GTKVERSION))
-MARSHALLER=scintilla-marshal.o
.cxx.o:
$(CXX) $(CONFIGFLAGS) $(CXXTFLAGS) $(CXXFLAGS) -c $<
@@ -104,7 +103,7 @@ $(COMPLIB): Accessor.o CharacterSet.o LexerBase.o LexerModule.o LexerSimple.o St
PropSetSimple.o PlatGTK.o \
KeyMap.o LineMarker.o PositionCache.o ScintillaGTK.o CellBuffer.o CharacterCategory.o ViewStyle.o \
RESearch.o RunStyles.o Selection.o Style.o Indicator.o AutoComplete.o UniConversion.o XPM.o \
- $(MARSHALLER) $(LEXOBJS)
+ $(LEXOBJS)
$(AR) rc $@ $^
$(RANLIB) $@