GtkText::set_adjustments

void set_adjustments( GtkAdjustment hadj , GtkAdjustment vadj );

In most cases, set_adjustments() is a redundant method, as it is already used internally by scrolling-aware containers to create appropriate adjustment settings for the size of the text widget. This pre-setting by a container cannot be overridden.

Where you need to use this method, the first parameter must always be null due to the malfunctioning hadj property in a GtkText widget.