(psppire_selector_set_subjects): Add an
authorBen Pfaff <blp@gnu.org>
Wed, 4 Apr 2007 04:27:04 +0000 (04:27 +0000)
committerBen Pfaff <blp@gnu.org>
Wed, 4 Apr 2007 04:27:04 +0000 (04:27 +0000)
assert that may or may not trap some Windows-related bugs.

src/ui/gui/ChangeLog
src/ui/gui/psppire-selector.c

index 3a578f7ef09699e2fc0dfe46ca2786478d92d1b2..7df5f7473076cf39b3207fdc7db5dd5aacc1b1cc 100644 (file)
@@ -1,3 +1,9 @@
+2007-04-03  Ben Pfaff  <blp@gnu.org>
+           John McCabe-Dansted <gmatht@gmail.com>
+
+       * 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 <john@darrington.wattle.id.au>
        
        * data-editor.c data-editor.glade helper.h syntax-editor.c
index f3f684a16fc1e1e004835926c77ce45c5403e780..6465189d759d365b8c627654b84a8209f464db74 100644 (file)
@@ -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;