Commit b852358d authored by Jonathan Blandford's avatar Jonathan Blandford Committed by Jonathan Blandford

Fix crash found by Matt Wilson.

Thu Nov  1 12:21:31 2001  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_focus_to_cursor): Fix crash
	found by Matt Wilson.
parent d63b7cd6
Thu Nov 1 12:21:31 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_focus_to_cursor): Fix crash
found by Matt Wilson.
Thu Nov 1 00:44:50 2001 Jonathan Blandford <jrb@redhat.com> Thu Nov 1 00:44:50 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_class_init): Support Shift, * gtk/gtktreeview.c (gtk_tree_view_class_init): Support Shift,
......
Thu Nov 1 12:21:31 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_focus_to_cursor): Fix crash
found by Matt Wilson.
Thu Nov 1 00:44:50 2001 Jonathan Blandford <jrb@redhat.com> Thu Nov 1 00:44:50 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_class_init): Support Shift, * gtk/gtktreeview.c (gtk_tree_view_class_init): Support Shift,
......
Thu Nov 1 12:21:31 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_focus_to_cursor): Fix crash
found by Matt Wilson.
Thu Nov 1 00:44:50 2001 Jonathan Blandford <jrb@redhat.com> Thu Nov 1 00:44:50 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_class_init): Support Shift, * gtk/gtktreeview.c (gtk_tree_view_class_init): Support Shift,
......
Thu Nov 1 12:21:31 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_focus_to_cursor): Fix crash
found by Matt Wilson.
Thu Nov 1 00:44:50 2001 Jonathan Blandford <jrb@redhat.com> Thu Nov 1 00:44:50 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_class_init): Support Shift, * gtk/gtktreeview.c (gtk_tree_view_class_init): Support Shift,
......
Thu Nov 1 12:21:31 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_focus_to_cursor): Fix crash
found by Matt Wilson.
Thu Nov 1 00:44:50 2001 Jonathan Blandford <jrb@redhat.com> Thu Nov 1 00:44:50 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_class_init): Support Shift, * gtk/gtktreeview.c (gtk_tree_view_class_init): Support Shift,
......
Thu Nov 1 12:21:31 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_focus_to_cursor): Fix crash
found by Matt Wilson.
Thu Nov 1 00:44:50 2001 Jonathan Blandford <jrb@redhat.com> Thu Nov 1 00:44:50 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_class_init): Support Shift, * gtk/gtktreeview.c (gtk_tree_view_class_init): Support Shift,
......
Thu Nov 1 12:21:31 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_focus_to_cursor): Fix crash
found by Matt Wilson.
Thu Nov 1 00:44:50 2001 Jonathan Blandford <jrb@redhat.com> Thu Nov 1 00:44:50 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_class_init): Support Shift, * gtk/gtktreeview.c (gtk_tree_view_class_init): Support Shift,
......
...@@ -5835,6 +5835,7 @@ gtk_tree_view_focus_to_cursor (GtkTreeView *tree_view) ...@@ -5835,6 +5835,7 @@ gtk_tree_view_focus_to_cursor (GtkTreeView *tree_view)
{ {
cursor_path = gtk_tree_path_new_root (); cursor_path = gtk_tree_path_new_root ();
gtk_tree_row_reference_free (tree_view->priv->cursor); gtk_tree_row_reference_free (tree_view->priv->cursor);
tree_view->priv->cursor = NULL;
if (tree_view->priv->selection->type == GTK_SELECTION_MULTIPLE) if (tree_view->priv->selection->type == GTK_SELECTION_MULTIPLE)
gtk_tree_view_real_set_cursor (tree_view, cursor_path, FALSE); gtk_tree_view_real_set_cursor (tree_view, cursor_path, FALSE);
......
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