From cc984ff6b1eaa5a653a85b3dfbb712363170bfec Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Sun, 13 Dec 2015 23:01:55 +0100 Subject: Fix issues raised by review and some more - remove any notion of deprecation of legacy symbol names - make sure typelib search path is set for test program - add separate test target to test/gi/makefile - improve g-ir-scanner call command line - fixed gtk2 support of test test/gi/gi-test.py --- gtk/ScintillaGTK.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gtk') diff --git a/gtk/ScintillaGTK.cxx b/gtk/ScintillaGTK.cxx index ad6898072..6a9ff2ac4 100644 --- a/gtk/ScintillaGTK.cxx +++ b/gtk/ScintillaGTK.cxx @@ -3058,7 +3058,7 @@ sptr_t ScintillaGTK::DirectFunction( return reinterpret_cast(ptr)->WndProc(iMessage, wParam, lParam); } -/* old name for compatibility */ +/* legacy name for scintilla_object_send_message */ sptr_t scintilla_send_message(ScintillaObject *sci, unsigned int iMessage, uptr_t wParam, sptr_t lParam) { ScintillaGTK *psci = static_cast(sci->pscin); return psci->WndProc(iMessage, wParam, lParam); @@ -3075,7 +3075,7 @@ static void scintilla_init(ScintillaObject *sci); extern void Platform_Initialise(); extern void Platform_Finalise(); -/* old name for compatibility */ +/* legacy name for scintilla_object_get_type */ GType scintilla_get_type() { static GType scintilla_type = 0; try { @@ -3214,7 +3214,7 @@ static void scintilla_init(ScintillaObject *sci) { } } -/* old name for compatibility */ +/* legacy name for scintilla_object_new */ GtkWidget* scintilla_new() { GtkWidget *widget = GTK_WIDGET(g_object_new(scintilla_get_type(), NULL)); gtk_widget_set_direction(widget, GTK_TEXT_DIR_LTR); -- cgit v1.2.3