Index: gtkentryprivate.h
===================================================================
--- gtkentryprivate.h	(revision 21836)
+++ gtkentryprivate.h	(working copy)
@@ -81,6 +81,8 @@
 void     _gtk_entry_effective_inner_border (GtkEntry  *entry,
 					    GtkBorder *border);
 void     _gtk_entry_reset_im_context       (GtkEntry  *entry);
+void     _gtk_entry_adjust_scroll          (GtkEntry  *entry);
+
 G_END_DECLS
 
 #endif /* __GTK_ENTRY_PRIVATE_H__ */
Index: gtkentry.c
===================================================================
--- gtkentry.c	(revision 21837)
+++ gtkentry.c	(working copy)
@@ -333,7 +333,6 @@
 							CursorType      type,
 							gint           *strong_x,
 							gint           *weak_x);
-static void         gtk_entry_adjust_scroll            (GtkEntry       *entry);
 static gint         gtk_entry_move_visually            (GtkEntry       *editable,
 							gint            start,
 							gint            count);
@@ -1480,7 +1479,7 @@
 
   gtk_im_context_set_client_window (entry->im_context, entry->text_area);
 
-  gtk_entry_adjust_scroll (entry);
+  _gtk_entry_adjust_scroll (entry);
   gtk_entry_update_primary_selection (entry);
 }
 
@@ -3442,7 +3441,7 @@
   
   if (gtk_widget_has_screen (GTK_WIDGET (entry)))
     {
-      gtk_entry_adjust_scroll (entry);
+      _gtk_entry_adjust_scroll (entry);
       gtk_entry_queue_draw (entry);
       
       update_im_cursor_location (entry);
@@ -4042,8 +4041,8 @@
     }
 }
 
-static void
-gtk_entry_adjust_scroll (GtkEntry *entry)
+void
+_gtk_entry_adjust_scroll (GtkEntry *entry)
 {
   GtkEntryPrivate *priv = GTK_ENTRY_GET_PRIVATE (entry);
   gint min_offset, max_offset;
