diff options
author | Guy Harris <guy@alum.mit.edu> | 2000-01-06 05:09:01 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2000-01-06 05:09:01 +0000 |
commit | 9607209dccc166f2d918207c5b2c9731824e618e (patch) | |
tree | 8ab7aeb6a62a61fe599fcefdb78c565389f6236a /globals.h | |
parent | 5b8384f5e11fe3a6f7873f7d06e0f7e7e7ac0a3a (diff) |
Don't bother checking whether the filter string is empty - just use it
even if it's empty, rather than using an empty string instead of it if
it's empty.
Also, "gtk_entry_get_text()" appears, from the documentation, always to
return a non-null pointer (and it returned a non-null pointer when I
started a capture with an empty filter string); don't supply a null
string if it's null, just do a "g_assert()" to make sure it's non-null.
Put in a comment explaining why we aren't trying to be clever and
detecting an empty filter string and setting "cf.filter" to NULL if it's
empty.
svn path=/trunk/; revision=1423
Diffstat (limited to 'globals.h')
0 files changed, 0 insertions, 0 deletions