From 3b30570aad37220524eccdc5b262a969eaabba4e Mon Sep 17 00:00:00 2001 From: Jonathan Blandford Date: Sun, 30 Mar 2003 09:15:13 +0000 Subject: [PATCH] fix crash. Patch from Markus Lausser Sun Mar 30 03:57:42 2003 Jonathan Blandford * gtk/gtktreeselection.c (gtk_tree_selection_get_selected_rows): fix crash. Patch from Markus Lausser --- ChangeLog | 5 +++++ ChangeLog.pre-2-10 | 5 +++++ ChangeLog.pre-2-4 | 5 +++++ ChangeLog.pre-2-6 | 5 +++++ ChangeLog.pre-2-8 | 5 +++++ gtk/gtktreeselection.c | 2 +- 6 files changed, 26 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 53723ec157..a4d9cb4556 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sun Mar 30 03:57:42 2003 Jonathan Blandford + + * gtk/gtktreeselection.c (gtk_tree_selection_get_selected_rows): + fix crash. Patch from Markus Lausser + 2003-03-29 Matthias Clasen * gtk/gtkoptionmenu.c (gtk_option_menu_remove_contents): Set state diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 53723ec157..a4d9cb4556 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +Sun Mar 30 03:57:42 2003 Jonathan Blandford + + * gtk/gtktreeselection.c (gtk_tree_selection_get_selected_rows): + fix crash. Patch from Markus Lausser + 2003-03-29 Matthias Clasen * gtk/gtkoptionmenu.c (gtk_option_menu_remove_contents): Set state diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 53723ec157..a4d9cb4556 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,8 @@ +Sun Mar 30 03:57:42 2003 Jonathan Blandford + + * gtk/gtktreeselection.c (gtk_tree_selection_get_selected_rows): + fix crash. Patch from Markus Lausser + 2003-03-29 Matthias Clasen * gtk/gtkoptionmenu.c (gtk_option_menu_remove_contents): Set state diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 53723ec157..a4d9cb4556 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +Sun Mar 30 03:57:42 2003 Jonathan Blandford + + * gtk/gtktreeselection.c (gtk_tree_selection_get_selected_rows): + fix crash. Patch from Markus Lausser + 2003-03-29 Matthias Clasen * gtk/gtkoptionmenu.c (gtk_option_menu_remove_contents): Set state diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 53723ec157..a4d9cb4556 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +Sun Mar 30 03:57:42 2003 Jonathan Blandford + + * gtk/gtktreeselection.c (gtk_tree_selection_get_selected_rows): + fix crash. Patch from Markus Lausser + 2003-03-29 Matthias Clasen * gtk/gtkoptionmenu.c (gtk_option_menu_remove_contents): Set state diff --git a/gtk/gtktreeselection.c b/gtk/gtktreeselection.c index 495b93a162..b936f7aa9a 100644 --- a/gtk/gtktreeselection.c +++ b/gtk/gtktreeselection.c @@ -455,7 +455,7 @@ gtk_tree_selection_get_selected_rows (GtkTreeSelection *selection, { GtkTreePath *path; - path = gtk_tree_model_get_path (*model, &iter); + path = gtk_tree_model_get_path (selection->tree_view->priv->model, &iter); list = g_list_append (list, path); return list;