Only in gtk+-1.2.10-patched: config.cache
Only in gtk+-1.2.10-patched: config.h
Only in gtk+-1.2.10-patched: config.log
Only in gtk+-1.2.10-patched: config.status
diff -ur gtk+-1.2.10/configure gtk+-1.2.10-patched/configure
--- gtk+-1.2.10/configure	2001-03-28 23:11:45.000000000 +0200
+++ gtk+-1.2.10-patched/configure	2003-05-11 20:25:48.000000000 +0200
@@ -22,9 +22,9 @@
 #
 GTK_MAJOR_VERSION=1
 GTK_MINOR_VERSION=2
-GTK_MICRO_VERSION=10
-GTK_INTERFACE_AGE=1
-GTK_BINARY_AGE=10
+GTK_MICRO_VERSION=11
+GTK_INTERFACE_AGE=2
+GTK_BINARY_AGE=11
 GTK_VERSION=$GTK_MAJOR_VERSION.$GTK_MINOR_VERSION.$GTK_MICRO_VERSION
 ac_help="$ac_help
   --enable-shared[=PKGS]  build shared libraries [default=yes]"
Only in gtk+-1.2.10-patched/docs: gtk-config.1
Only in gtk+-1.2.10-patched/docs: Makefile
Only in gtk+-1.2.10-patched/gdk: Makefile
Only in gtk+-1.2.10-patched: gdk.pc
diff -ur gtk+-1.2.10/gtk/gtkfeatures.h gtk+-1.2.10-patched/gtk/gtkfeatures.h
--- gtk+-1.2.10/gtk/gtkfeatures.h	2001-03-28 23:11:59.000000000 +0200
+++ gtk+-1.2.10-patched/gtk/gtkfeatures.h	2003-05-12 14:38:25.000000000 +0200
@@ -29,9 +29,9 @@
  */
 #define GTK_MAJOR_VERSION				(1)
 #define GTK_MINOR_VERSION				(2)
-#define GTK_MICRO_VERSION				(10)
-#define GTK_BINARY_AGE					(10)
-#define GTK_INTERFACE_AGE				(1)
+#define GTK_MICRO_VERSION				(11)
+#define GTK_BINARY_AGE					(11)
+#define GTK_INTERFACE_AGE				(2)
 #define	GTK_CHECK_VERSION(major,minor,micro)	\
     (GTK_MAJOR_VERSION > (major) || \
      (GTK_MAJOR_VERSION == (major) && GTK_MINOR_VERSION > (minor)) || \
diff -ur gtk+-1.2.10/gtk/gtktext.c gtk+-1.2.10-patched/gtk/gtktext.c
--- gtk+-1.2.10/gtk/gtktext.c	2001-03-15 21:15:12.000000000 +0100
+++ gtk+-1.2.10-patched/gtk/gtktext.c	2003-05-12 14:36:29.000000000 +0200
@@ -4182,6 +4182,74 @@
 gtk_text_move_to_row (GtkEditable *editable,
 		      gint         row)
 {
+  /* jump directly to row without scrolling through each line */
+
+  GtkText *text;
+  GList* line, *last;
+  guint height = 0;
+  
+  text = GTK_TEXT (editable);
+ 
+  if (text->line_start_cache == NULL) 
+    return;
+
+  /* undraw selection */
+
+  gtk_text_set_selection (editable,
+			  text->cursor_mark.index,
+			  text->cursor_mark.index);
+
+  /* special case */
+  
+  if (row < 0) 
+    {
+      move_cursor_buffer_ver (text, +1);
+      return;
+    }
+
+  
+  /* go up to to index 0 */
+
+  last = text->line_start_cache;
+
+  while (CACHE_DATA(text->line_start_cache).start.index != 0) {
+
+    if (!text->line_start_cache->prev)
+      fetch_lines_backward (text);
+
+    text->line_start_cache = text->line_start_cache->prev;
+  }
+
+  /* now, go down to row row */
+
+  fetch_lines_forward (text, row);
+
+  for (line = text->line_start_cache; line && row > 0; line = line->next)
+    {
+      height += LINE_HEIGHT(CACHE_DATA(line));
+      
+      if (!text->line_wrap || !CACHE_DATA(line).wraps)
+	row -= 1;
+      
+      if (!line->next)
+	fetch_lines_forward (text, row);
+    }
+
+  text->line_start_cache = last;
+
+  /* set cursor & scroll bar */
+
+  undraw_cursor (text, FALSE);
+
+  text->vadj->value = height - text->vadj->page_size / 2;
+  text->vadj->value = MIN (text->vadj->value, 
+			   text->vadj->upper - text->vadj->page_size);
+  text->vadj->value = MAX (text->vadj->value, 0.0);  
+  gtk_signal_emit_by_name (GTK_OBJECT (text->vadj), "value_changed");
+
+  text->cursor_mark = CACHE_DATA(line).start;
+  find_cursor (text, TRUE);
+  draw_cursor (text, FALSE);
 }
 
 static void 
@@ -5123,6 +5191,13 @@
 	buffer.ch += len;
       chars -= len;
     }
+
+  /* The blank between the end of a line and the right border of the widget
+     has the background color associated to the \n character, and has the
+     background selection color when the \n is selected, which is nice. */
+  draw_bg_rect (text, &mark, running_offset, pixel_start_height,
+		GTK_WIDGET(text)->allocation.width-running_offset, 
+		LINE_HEIGHT (*lp), TRUE);
 }
 
 static void
Only in gtk+-1.2.10-patched/gtk: gtktext.c~
Only in gtk+-1.2.10-patched/gtk: Makefile
Only in gtk+-1.2.10-patched: gtk-config
Only in gtk+-1.2.10-patched: gtk+.pc
diff -ur gtk+-1.2.10/gtk+.spec gtk+-1.2.10-patched/gtk+.spec
--- gtk+-1.2.10/gtk+.spec	2001-04-02 05:15:10.000000000 +0200
+++ gtk+-1.2.10-patched/gtk+.spec	2003-05-12 14:38:24.000000000 +0200
@@ -1,5 +1,5 @@
 # Note that this is NOT a relocatable package
-%define ver      1.2.10
+%define ver      1.2.11
 %define  RELEASE 1
 %define  rel     %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
 %define prefix   /usr
Only in gtk+-1.2.10-patched/intl: po2tbl.sed
Only in gtk+-1.2.10-patched: libtool
Only in gtk+-1.2.10-patched: Makefile
Only in gtk+-1.2.10-patched/po: Makefile
Only in gtk+-1.2.10-patched/po: Makefile.in
Only in gtk+-1.2.10-patched/po: POTFILES
Only in gtk+-1.2.10-patched: stamp-h

