*** src/vte.h	2008-12-04 18:26:56.000000000 +0100
--- ../../../vte/src/vte.h	2009-03-04 00:54:36.000000000 +0100
***************
*** 101,107 ****
  	void (*copy_clipboard)(VteTerminal* terminal);
  	void (*paste_clipboard)(VteTerminal* terminal);
  
! 	void (* set_scroll_adjustments) (GtkWidget *widget,
  					 GtkAdjustment *hadjustment,
  					 GtkAdjustment *vadjustment);
  
--- 101,107 ----
  	void (*copy_clipboard)(VteTerminal* terminal);
  	void (*paste_clipboard)(VteTerminal* terminal);
  
! 	void (* set_scroll_adjustments) (VteTerminal *terminal,
  					 GtkAdjustment *hadjustment,
  					 GtkAdjustment *vadjustment);
  
*** src/vte.c	2009-03-03 12:32:15.000000000 +0100
--- ../../../vte/src/vte.c	2009-03-04 00:58:25.000000000 +0100
***************
*** 7755,7766 ****
  
  /* Set the adjustment objects used by the terminal widget. */
  static void
! vte_terminal_set_scroll_adjustments(GtkWidget *widget,
  				    GtkAdjustment *hadjustment G_GNUC_UNUSED,
  				    GtkAdjustment *adjustment)
  {
- 	VteTerminal *terminal = VTE_TERMINAL (widget);
- 
  	if (adjustment != NULL && adjustment == terminal->adjustment)
  		return;
  	if (adjustment == NULL && terminal->adjustment != NULL)
--- 7755,7764 ----
  
  /* Set the adjustment objects used by the terminal widget. */
  static void
! vte_terminal_set_scroll_adjustments(VteTerminal *terminal,
  				    GtkAdjustment *hadjustment G_GNUC_UNUSED,
  				    GtkAdjustment *adjustment)
  {
  	if (adjustment != NULL && adjustment == terminal->adjustment)
  		return;
  	if (adjustment == NULL && terminal->adjustment != NULL)
***************
*** 8030,8036 ****
  	gtk_widget_set_redraw_on_allocate (&terminal->widget, FALSE);
  
  	/* Set an adjustment for the application to use to control scrolling. */
! 	vte_terminal_set_scroll_adjustments(GTK_WIDGET(terminal), NULL, NULL);
  
  	/* Set up dummy metrics, value != 0 to avoid division by 0 */
  	terminal->char_width = 1;
--- 8028,8034 ----
  	gtk_widget_set_redraw_on_allocate (&terminal->widget, FALSE);
  
  	/* Set an adjustment for the application to use to control scrolling. */
! 	vte_terminal_set_scroll_adjustments(terminal, NULL, NULL);
  
  	/* Set up dummy metrics, value != 0 to avoid division by 0 */
  	terminal->char_width = 1;
