set_scroll_adjustments first parameter is GtkWidget* instead of VteTerminal*
@krnowak
Submitted by Krzesimir Nowak Link to original bug (#574010)
Description
Shouldn't set_scroll_adjustments take the first parameter as VteTerminal* instead of GtkWidget*? All other default signal handlers take VteTerminal* as first parameter. Even documentation says "set-scroll-adjustments" signal handler receives VteTerminal*.
While wrapping this library for C++ I got an error during compile of generated files: terminal.cc: In static member function ‘static void Vte::Terminal_Class::set_scroll_adjustments_callback(VteTerminal*, GtkAdjustment*, GtkAdjustment*)’: terminal.cc:1804: error: cannot convert ‘VteTerminal*’ to ‘GtkWidget*’ in argument passing
So this one prevents me from wrapping vte.
I'll provide a patch.
Version: 0.17.x
Resolution: RESOLVED OBSOLETE