minor fixes

This commit is contained in:
Joshua N Pritikin 2001-09-11 04:27:53 +00:00
parent 91aa2d9234
commit 4eece537a3
9 changed files with 61 additions and 2 deletions

View File

@ -1,3 +1,11 @@
Mon Sep 10 21:26:24 2001 Joshua N Pritikin <vishnu@pobox.com>
* gtk/gtktextview.c (gtk_text_view_set_buffer): Make
(add|remove)_selection_clipboard symmetric. (bug #59836)
* gtk/gtktreeview.c (gtk_tree_view_unref_and_check_selection_tree):
Avoid SEGV for empty tree. (bug #60243)
Mon Sep 10 20:47:22 2001 Tim Janik <timj@gtk.org>
* tests/testgtk.c (create_idle_test): slight fix for

View File

@ -1,3 +1,11 @@
Mon Sep 10 21:26:24 2001 Joshua N Pritikin <vishnu@pobox.com>
* gtk/gtktextview.c (gtk_text_view_set_buffer): Make
(add|remove)_selection_clipboard symmetric. (bug #59836)
* gtk/gtktreeview.c (gtk_tree_view_unref_and_check_selection_tree):
Avoid SEGV for empty tree. (bug #60243)
Mon Sep 10 20:47:22 2001 Tim Janik <timj@gtk.org>
* tests/testgtk.c (create_idle_test): slight fix for

View File

@ -1,3 +1,11 @@
Mon Sep 10 21:26:24 2001 Joshua N Pritikin <vishnu@pobox.com>
* gtk/gtktextview.c (gtk_text_view_set_buffer): Make
(add|remove)_selection_clipboard symmetric. (bug #59836)
* gtk/gtktreeview.c (gtk_tree_view_unref_and_check_selection_tree):
Avoid SEGV for empty tree. (bug #60243)
Mon Sep 10 20:47:22 2001 Tim Janik <timj@gtk.org>
* tests/testgtk.c (create_idle_test): slight fix for

View File

@ -1,3 +1,11 @@
Mon Sep 10 21:26:24 2001 Joshua N Pritikin <vishnu@pobox.com>
* gtk/gtktextview.c (gtk_text_view_set_buffer): Make
(add|remove)_selection_clipboard symmetric. (bug #59836)
* gtk/gtktreeview.c (gtk_tree_view_unref_and_check_selection_tree):
Avoid SEGV for empty tree. (bug #60243)
Mon Sep 10 20:47:22 2001 Tim Janik <timj@gtk.org>
* tests/testgtk.c (create_idle_test): slight fix for

View File

@ -1,3 +1,11 @@
Mon Sep 10 21:26:24 2001 Joshua N Pritikin <vishnu@pobox.com>
* gtk/gtktextview.c (gtk_text_view_set_buffer): Make
(add|remove)_selection_clipboard symmetric. (bug #59836)
* gtk/gtktreeview.c (gtk_tree_view_unref_and_check_selection_tree):
Avoid SEGV for empty tree. (bug #60243)
Mon Sep 10 20:47:22 2001 Tim Janik <timj@gtk.org>
* tests/testgtk.c (create_idle_test): slight fix for

View File

@ -1,3 +1,11 @@
Mon Sep 10 21:26:24 2001 Joshua N Pritikin <vishnu@pobox.com>
* gtk/gtktextview.c (gtk_text_view_set_buffer): Make
(add|remove)_selection_clipboard symmetric. (bug #59836)
* gtk/gtktreeview.c (gtk_tree_view_unref_and_check_selection_tree):
Avoid SEGV for empty tree. (bug #60243)
Mon Sep 10 20:47:22 2001 Tim Janik <timj@gtk.org>
* tests/testgtk.c (create_idle_test): slight fix for

View File

@ -1,3 +1,11 @@
Mon Sep 10 21:26:24 2001 Joshua N Pritikin <vishnu@pobox.com>
* gtk/gtktextview.c (gtk_text_view_set_buffer): Make
(add|remove)_selection_clipboard symmetric. (bug #59836)
* gtk/gtktreeview.c (gtk_tree_view_unref_and_check_selection_tree):
Avoid SEGV for empty tree. (bug #60243)
Mon Sep 10 20:47:22 2001 Tim Janik <timj@gtk.org>
* tests/testgtk.c (create_idle_test): slight fix for

View File

@ -1084,8 +1084,8 @@ gtk_text_view_set_buffer (GtkTextView *text_view,
G_CALLBACK (gtk_text_view_mark_set_handler), text_view);
if (GTK_WIDGET_REALIZED (text_view))
gtk_text_buffer_remove_selection_clipboard (text_view->buffer,
gtk_clipboard_get (GDK_SELECTION_PRIMARY));
gtk_text_buffer_add_selection_clipboard (text_view->buffer,
gtk_clipboard_get (GDK_SELECTION_PRIMARY));
}
if (GTK_WIDGET_VISIBLE (text_view))

View File

@ -5308,6 +5308,9 @@ gtk_tree_view_unref_and_check_selection_tree (GtkTreeView *tree_view,
GtkRBNode *node;
gint retval;
if (!tree)
return FALSE;
node = tree->root;
while (node && node->left != tree->nil)
node = node->left;