aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui/gtk/main.c')
-rw-r--r--ui/gtk/main.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/ui/gtk/main.c b/ui/gtk/main.c
index cf6e829a05..721f942e53 100644
--- a/ui/gtk/main.c
+++ b/ui/gtk/main.c
@@ -874,7 +874,7 @@ tree_view_selection_changed_cb(GtkTreeSelection *sel, gpointer user_data _U_)
} else {
/*
* Don't show anything if the field name is zero-length;
- * the pseudo-field for "proto_tree_add_text()" is such
+ * the pseudo-field for text-only items is such
* a field, and we don't want "Text (text)" showing up
* on the status line if you've selected such a field.
*
@@ -886,10 +886,9 @@ tree_view_selection_changed_cb(GtkTreeSelection *sel, gpointer user_data _U_)
* but we'd have to add checks for null pointers in some
* places if we did that.
*
- * Or perhaps protocol tree items added with
- * "proto_tree_add_text()" should have -1 as the field index,
- * with no pseudo-field being used, but that might also
- * require special checks for -1 to be added.
+ * Or perhaps text-only items should have -1 as the field
+ * index, with no pseudo-field being used, but that might
+ * also require special checks for -1 to be added.
*/
statusbar_push_field_msg("%s", "");
}