From 7eda1a159f93609f8bd68e98e1b04db2d99067f5 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Wed, 4 Apr 2007 04:27:04 +0000 Subject: [PATCH] (psppire_selector_set_subjects): Add an assert that may or may not trap some Windows-related bugs. --- src/ui/gui/ChangeLog | 6 ++++++ src/ui/gui/psppire-selector.c | 2 ++ 2 files changed, 8 insertions(+) diff --git a/src/ui/gui/ChangeLog b/src/ui/gui/ChangeLog index 3a578f7e..7df5f747 100644 --- a/src/ui/gui/ChangeLog +++ b/src/ui/gui/ChangeLog @@ -1,3 +1,9 @@ +2007-04-03 Ben Pfaff + John McCabe-Dansted + + * psppire-selector.c (psppire_selector_set_subjects): Add an + assert that may or may not trap some Windows-related bugs. + 2007-04-03 John Darrington * data-editor.c data-editor.glade helper.h syntax-editor.c diff --git a/src/ui/gui/psppire-selector.c b/src/ui/gui/psppire-selector.c index f3f684a1..6465189d 100644 --- a/src/ui/gui/psppire-selector.c +++ b/src/ui/gui/psppire-selector.c @@ -717,6 +717,8 @@ psppire_selector_set_subjects (PsppireSelector *selector, SelectItemsFunc *select_func, FilterItemsFunc *filter_func ) { + g_assert(selector); + selector->filter = filter_func ; selector->source = source; -- 2.30.2