Move a comment, to correctly reflect which code in
"clear_tree_and_hex_views()" clears the hext dump window and which code clears the protocol tree window. svn path=/trunk/; revision=451
This commit is contained in:
parent
e75a3a4509
commit
a7061b9abd
4
file.c
4
file.c
|
@ -1,7 +1,7 @@
|
||||||
/* file.c
|
/* file.c
|
||||||
* File I/O routines
|
* File I/O routines
|
||||||
*
|
*
|
||||||
* $Id: file.c,v 1.56 1999/08/05 16:46:04 gram Exp $
|
* $Id: file.c,v 1.57 1999/08/07 01:25:04 guy Exp $
|
||||||
*
|
*
|
||||||
* Ethereal - Network traffic analyzer
|
* Ethereal - Network traffic analyzer
|
||||||
* By Gerald Combs <gerald@zing.org>
|
* By Gerald Combs <gerald@zing.org>
|
||||||
|
@ -712,9 +712,9 @@ clear_tree_and_hex_views(void)
|
||||||
gtk_text_set_point(GTK_TEXT(byte_view), 0);
|
gtk_text_set_point(GTK_TEXT(byte_view), 0);
|
||||||
gtk_text_forward_delete(GTK_TEXT(byte_view),
|
gtk_text_forward_delete(GTK_TEXT(byte_view),
|
||||||
gtk_text_get_length(GTK_TEXT(byte_view)));
|
gtk_text_get_length(GTK_TEXT(byte_view)));
|
||||||
|
gtk_text_thaw(GTK_TEXT(byte_view));
|
||||||
|
|
||||||
/* Clear the protocol tree view. */
|
/* Clear the protocol tree view. */
|
||||||
gtk_text_thaw(GTK_TEXT(byte_view));
|
|
||||||
gtk_tree_clear_items(GTK_TREE(tree_view), 0,
|
gtk_tree_clear_items(GTK_TREE(tree_view), 0,
|
||||||
g_list_length(GTK_TREE(tree_view)->children));
|
g_list_length(GTK_TREE(tree_view)->children));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue