From 12fa1554d92e43d31bbbcb7673ad0226154c462a Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Sun, 16 Jun 2002 03:12:05 +0000 Subject: [PATCH] Fix backwards asssertion. (#85434) Sat Jun 15 23:05:19 2002 Owen Taylor * gtk/gtkfilesel.c (gtk_file_selection_set_filename): Fix backwards asssertion. (#85434) --- ChangeLog | 8 ++++++-- ChangeLog.pre-2-10 | 8 ++++++-- ChangeLog.pre-2-2 | 8 ++++++-- ChangeLog.pre-2-4 | 8 ++++++-- ChangeLog.pre-2-6 | 8 ++++++-- ChangeLog.pre-2-8 | 8 ++++++-- gtk/gtkfilesel.c | 2 +- 7 files changed, 37 insertions(+), 13 deletions(-) diff --git a/ChangeLog b/ChangeLog index 796227e266..cf72b8e450 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,10 +1,14 @@ +Sat Jun 15 23:05:19 2002 Owen Taylor + + * gtk/gtkfilesel.c (gtk_file_selection_set_filename): + Fix backwards asssertion. (#85434) + Sat Jun 15 16:10:00 2002 James M. Cape * gtk/gtktexttag.c (gtk_text_tag_set_property): Notify about "background-full-height-set", not - "bg_full_height_set". + "bg_full_height_set". (#83336) - Fri Jun 14 15:41:50 2002 Jonathan Blandford * gtk/gtktreeview.c: Fix bug #84268, where validate_rows sometimes diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 796227e266..cf72b8e450 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,10 +1,14 @@ +Sat Jun 15 23:05:19 2002 Owen Taylor + + * gtk/gtkfilesel.c (gtk_file_selection_set_filename): + Fix backwards asssertion. (#85434) + Sat Jun 15 16:10:00 2002 James M. Cape * gtk/gtktexttag.c (gtk_text_tag_set_property): Notify about "background-full-height-set", not - "bg_full_height_set". + "bg_full_height_set". (#83336) - Fri Jun 14 15:41:50 2002 Jonathan Blandford * gtk/gtktreeview.c: Fix bug #84268, where validate_rows sometimes diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 796227e266..cf72b8e450 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,10 +1,14 @@ +Sat Jun 15 23:05:19 2002 Owen Taylor + + * gtk/gtkfilesel.c (gtk_file_selection_set_filename): + Fix backwards asssertion. (#85434) + Sat Jun 15 16:10:00 2002 James M. Cape * gtk/gtktexttag.c (gtk_text_tag_set_property): Notify about "background-full-height-set", not - "bg_full_height_set". + "bg_full_height_set". (#83336) - Fri Jun 14 15:41:50 2002 Jonathan Blandford * gtk/gtktreeview.c: Fix bug #84268, where validate_rows sometimes diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 796227e266..cf72b8e450 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,10 +1,14 @@ +Sat Jun 15 23:05:19 2002 Owen Taylor + + * gtk/gtkfilesel.c (gtk_file_selection_set_filename): + Fix backwards asssertion. (#85434) + Sat Jun 15 16:10:00 2002 James M. Cape * gtk/gtktexttag.c (gtk_text_tag_set_property): Notify about "background-full-height-set", not - "bg_full_height_set". + "bg_full_height_set". (#83336) - Fri Jun 14 15:41:50 2002 Jonathan Blandford * gtk/gtktreeview.c: Fix bug #84268, where validate_rows sometimes diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 796227e266..cf72b8e450 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,10 +1,14 @@ +Sat Jun 15 23:05:19 2002 Owen Taylor + + * gtk/gtkfilesel.c (gtk_file_selection_set_filename): + Fix backwards asssertion. (#85434) + Sat Jun 15 16:10:00 2002 James M. Cape * gtk/gtktexttag.c (gtk_text_tag_set_property): Notify about "background-full-height-set", not - "bg_full_height_set". + "bg_full_height_set". (#83336) - Fri Jun 14 15:41:50 2002 Jonathan Blandford * gtk/gtktreeview.c: Fix bug #84268, where validate_rows sometimes diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 796227e266..cf72b8e450 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,10 +1,14 @@ +Sat Jun 15 23:05:19 2002 Owen Taylor + + * gtk/gtkfilesel.c (gtk_file_selection_set_filename): + Fix backwards asssertion. (#85434) + Sat Jun 15 16:10:00 2002 James M. Cape * gtk/gtktexttag.c (gtk_text_tag_set_property): Notify about "background-full-height-set", not - "bg_full_height_set". + "bg_full_height_set". (#83336) - Fri Jun 14 15:41:50 2002 Jonathan Blandford * gtk/gtktreeview.c: Fix bug #84268, where validate_rows sometimes diff --git a/gtk/gtkfilesel.c b/gtk/gtkfilesel.c index d2bc664d9b..1f0c2d6819 100644 --- a/gtk/gtkfilesel.c +++ b/gtk/gtkfilesel.c @@ -1168,7 +1168,7 @@ gtk_file_selection_set_filename (GtkFileSelection *filesel, g_return_if_fail (filename != NULL); filename_utf8 = g_filename_to_utf8 (filename, -1, NULL, NULL, NULL); - g_return_if_fail (filename_utf8 == NULL); + g_return_if_fail (filename_utf8 != NULL); last_slash = strrchr (filename, G_DIR_SEPARATOR);