diff options
author | Havoc Pennington <hp@pobox.com> | 2001-12-31 22:35:20 +0000 |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 2001-12-31 22:35:20 +0000 |
commit | d07cd9f8657a01c71a18c984dd9b9400e8479f66 (patch) | |
tree | 94884cacac3b3558fdf74af9de96b1b3a6f4e6c4 | |
parent | 9b185ed750e60cf19f12e88936c70ac8594ef531 (diff) | |
download | gdk-pixbuf-d07cd9f8657a01c71a18c984dd9b9400e8479f66.tar.gz |
remove backward_char since we no longer have bogus newline
2001-12-31 Havoc Pennington <hp@pobox.com>
* tests/testtext.c (do_insert_and_scroll): remove backward_char
since we no longer have bogus newline
(dialog_response_callback): remove another backward_char horkage,
reported by Matthias Clasen #63065
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | ChangeLog.pre-2-0 | 7 | ||||
-rw-r--r-- | ChangeLog.pre-2-10 | 7 | ||||
-rw-r--r-- | ChangeLog.pre-2-2 | 7 | ||||
-rw-r--r-- | ChangeLog.pre-2-4 | 7 | ||||
-rw-r--r-- | ChangeLog.pre-2-6 | 7 | ||||
-rw-r--r-- | ChangeLog.pre-2-8 | 7 | ||||
-rw-r--r-- | tests/testtext.c | 6 |
8 files changed, 50 insertions, 5 deletions
@@ -1,5 +1,12 @@ 2001-12-31 Havoc Pennington <hp@pobox.com> + * tests/testtext.c (do_insert_and_scroll): remove backward_char + since we no longer have bogus newline + (dialog_response_callback): remove another backward_char horkage, + reported by Matthias Clasen #63065 + +2001-12-31 Havoc Pennington <hp@pobox.com> + * gtk/gtktextbtree.c (gtk_text_btree_node_view_check_consistency): fix an incorrect assertion that the "valid" flag is always correct in a node and add explanatory comment. This keeps me from diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 129389c62..9f4d8ac34 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,5 +1,12 @@ 2001-12-31 Havoc Pennington <hp@pobox.com> + * tests/testtext.c (do_insert_and_scroll): remove backward_char + since we no longer have bogus newline + (dialog_response_callback): remove another backward_char horkage, + reported by Matthias Clasen #63065 + +2001-12-31 Havoc Pennington <hp@pobox.com> + * gtk/gtktextbtree.c (gtk_text_btree_node_view_check_consistency): fix an incorrect assertion that the "valid" flag is always correct in a node and add explanatory comment. This keeps me from diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 129389c62..9f4d8ac34 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,5 +1,12 @@ 2001-12-31 Havoc Pennington <hp@pobox.com> + * tests/testtext.c (do_insert_and_scroll): remove backward_char + since we no longer have bogus newline + (dialog_response_callback): remove another backward_char horkage, + reported by Matthias Clasen #63065 + +2001-12-31 Havoc Pennington <hp@pobox.com> + * gtk/gtktextbtree.c (gtk_text_btree_node_view_check_consistency): fix an incorrect assertion that the "valid" flag is always correct in a node and add explanatory comment. This keeps me from diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 129389c62..9f4d8ac34 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,5 +1,12 @@ 2001-12-31 Havoc Pennington <hp@pobox.com> + * tests/testtext.c (do_insert_and_scroll): remove backward_char + since we no longer have bogus newline + (dialog_response_callback): remove another backward_char horkage, + reported by Matthias Clasen #63065 + +2001-12-31 Havoc Pennington <hp@pobox.com> + * gtk/gtktextbtree.c (gtk_text_btree_node_view_check_consistency): fix an incorrect assertion that the "valid" flag is always correct in a node and add explanatory comment. This keeps me from diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 129389c62..9f4d8ac34 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,5 +1,12 @@ 2001-12-31 Havoc Pennington <hp@pobox.com> + * tests/testtext.c (do_insert_and_scroll): remove backward_char + since we no longer have bogus newline + (dialog_response_callback): remove another backward_char horkage, + reported by Matthias Clasen #63065 + +2001-12-31 Havoc Pennington <hp@pobox.com> + * gtk/gtktextbtree.c (gtk_text_btree_node_view_check_consistency): fix an incorrect assertion that the "valid" flag is always correct in a node and add explanatory comment. This keeps me from diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 129389c62..9f4d8ac34 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,5 +1,12 @@ 2001-12-31 Havoc Pennington <hp@pobox.com> + * tests/testtext.c (do_insert_and_scroll): remove backward_char + since we no longer have bogus newline + (dialog_response_callback): remove another backward_char horkage, + reported by Matthias Clasen #63065 + +2001-12-31 Havoc Pennington <hp@pobox.com> + * gtk/gtktextbtree.c (gtk_text_btree_node_view_check_consistency): fix an incorrect assertion that the "valid" flag is always correct in a node and add explanatory comment. This keeps me from diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 129389c62..9f4d8ac34 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,5 +1,12 @@ 2001-12-31 Havoc Pennington <hp@pobox.com> + * tests/testtext.c (do_insert_and_scroll): remove backward_char + since we no longer have bogus newline + (dialog_response_callback): remove another backward_char horkage, + reported by Matthias Clasen #63065 + +2001-12-31 Havoc Pennington <hp@pobox.com> + * gtk/gtktextbtree.c (gtk_text_btree_node_view_check_consistency): fix an incorrect assertion that the "valid" flag is always correct in a node and add explanatory comment. This keeps me from diff --git a/tests/testtext.c b/tests/testtext.c index aaf9f9d0c..151fdd561 100644 --- a/tests/testtext.c +++ b/tests/testtext.c @@ -874,7 +874,6 @@ do_insert_and_scroll (gpointer callback_data, gtk_text_buffer_get_bounds (buffer, &start, &end); mark = gtk_text_buffer_create_mark (buffer, NULL, &end, /* right grav */ FALSE); - gtk_text_iter_backward_char (&end); gtk_text_buffer_insert (buffer, &end, "Hello this is multiple lines of text\n" "Line 1\n" "Line 2\n" @@ -1161,13 +1160,10 @@ dialog_response_callback (GtkWidget *dialog, gint response_id, gpointer data) buffer = g_object_get_data (G_OBJECT (dialog), "buffer"); gtk_text_buffer_get_bounds (buffer, &start, &end); - - /* Remove trailing newline */ - gtk_text_iter_backward_char (&end); search_string = gtk_text_iter_get_text (&start, &end); - printf ("Searching for `%s'\n", search_string); + g_print ("Searching for `%s'\n", search_string); if (response_id == RESPONSE_FORWARD) buffer_search_forward (view->buffer, search_string, view); |