diff options
author | Gilbert Ramirez <gram@alumni.rice.edu> | 1998-12-22 07:07:11 +0000 |
---|---|---|
committer | Gilbert Ramirez <gram@alumni.rice.edu> | 1998-12-22 07:07:11 +0000 |
commit | b9084e83cb8e06e0edf815fe78a9f20907e36745 (patch) | |
tree | c81c8fe80c0d8321a46f4859f8baae9ffcf4b208 /filter.c | |
parent | e37cbc4fc1ef21b3aeaad4dedde591ea49c14c4b (diff) |
Fixed more bugs with dialogues and gtk+-1.1.x.
svn path=/trunk/; revision=137
Diffstat (limited to 'filter.c')
-rw-r--r-- | filter.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1,7 +1,7 @@ /* filter.c * Routines for managing filter sets * - * $Id: filter.c,v 1.10 1998/12/17 05:42:24 gram Exp $ + * $Id: filter.c,v 1.11 1998/12/22 07:07:10 gram Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -244,7 +244,10 @@ filter_sel_list_cb(GtkWidget *l, gpointer data) { GtkObject *l_item; gint sensitivity = FALSE; - sl = GTK_LIST(l)->selection; + if (l) + sl = GTK_LIST(l)->selection; + else + sl = NULL; if (sl) { /* Something was selected */ l_item = GTK_OBJECT(sl->data); |