mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
minor fixes
This commit is contained in:
parent
91aa2d9234
commit
4eece537a3
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user