Commit 4eece537 authored by Joshua N Pritikin's avatar Joshua N Pritikin

minor fixes

parent 91aa2d92
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
......
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
......
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
......
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
......
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
......
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
......
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
......
......@@ -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))
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment