From: Ben Pfaff Date: Wed, 4 Apr 2007 04:27:04 +0000 (+0000) Subject: (psppire_selector_set_subjects): Add an X-Git-Tag: v0.6.0~499 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7eda1a159f93609f8bd68e98e1b04db2d99067f5;p=pspp-builds.git (psppire_selector_set_subjects): Add an assert that may or may not trap some Windows-related bugs. --- 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;