@techee commented on this pull request.
In src/editor.c:
> @@ -4968,6 +4990,7 @@ static ScintillaObject *create_new_sci(GeanyEditor *editor) g_signal_connect(sci, "button-press-event", G_CALLBACK(on_editor_button_press_event), editor); g_signal_connect(sci, "scroll-event", G_CALLBACK(on_editor_scroll_event), editor); g_signal_connect(sci, "motion-notify-event", G_CALLBACK(on_motion_event), NULL); + g_signal_connect(sci, "motion-notify-event", G_CALLBACK(motion_notify_event), editor);
on_motion_event()
is in some other file than editor.c
and probably needs access to some stuff defined there but I could call it from within motion_notify_event()
so the signal is connected just once.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.