aboutsummaryrefslogtreecommitdiffhomepage
path: root/gtk/ScintillaGTK.cxx
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2015-12-13 23:01:55 +0100
committerThomas Martitz <kugel@rockbox.org>2015-12-13 23:01:55 +0100
commitf731523ba185e94af6734102332168487c14730f (patch)
treef1623a8babc45069b0198604bcce248441fe4db2 /gtk/ScintillaGTK.cxx
parent312ccef24f7faaff3ba8dae178c915374ab6677f (diff)
downloadscintilla-mirror-f731523ba185e94af6734102332168487c14730f.tar.gz
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
Diffstat (limited to 'gtk/ScintillaGTK.cxx')
-rw-r--r--gtk/ScintillaGTK.cxx6
1 files changed, 3 insertions, 3 deletions
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<ScintillaGTK *>(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<ScintillaGTK *>(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);