PsppireValueEntry: Simplify 'if' condition.
authorBen Pfaff <blp@cs.stanford.edu>
Wed, 25 Apr 2012 05:24:55 +0000 (22:24 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Wed, 25 Apr 2012 05:24:55 +0000 (22:24 -0700)
commit1b4785cbce99af4c195b5ddd9e08b3f3c3569bd5
tree1a433747a1069cb770713d932ff313f02a4ade59
parenta9d0f71010e7bfc3163e4c6b64611a994a72fa97
PsppireValueEntry: Simplify 'if' condition.

The statement
  if ((model != NULL) && (model != old_model))
can be simplifed to just:
  if (model != NULL)
because if 'model' is nonnull then it is different from old_model,
because 'model' is a newly allocated GtkListStore.
src/ui/gui/psppire-value-entry.c