summaryrefslogtreecommitdiff
path: root/ui/gtk/packet_win.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2012-06-16 21:30:24 +0000
committerGuy Harris <guy@alum.mit.edu>2012-06-16 21:30:24 +0000
commit75dba53ad63f96bd56ffa0f676ecb242dbcbfdd2 (patch)
tree7cf8fcd6fa3b14a982c705b2c310cbe29619cff0 /ui/gtk/packet_win.c
parent95988da72b2f091acd930d43f3397e75e93c4650 (diff)
downloadwireshark-75dba53ad63f96bd56ffa0f676ecb242dbcbfdd2.tar.gz
Move some routines that specifically handle the main window's packet
panes to main_packet_panes.c. Rename main_tree_view_new() to proto_tree_view_new() - it's not just for creating the main window's protocol tree view, it's also for creating protocol tree views in packet windows. svn path=/trunk/; revision=43292
Diffstat (limited to 'ui/gtk/packet_win.c')
-rw-r--r--ui/gtk/packet_win.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gtk/packet_win.c b/ui/gtk/packet_win.c
index d0208d2adb..e5e22177dd 100644
--- a/ui/gtk/packet_win.c
+++ b/ui/gtk/packet_win.c
@@ -930,7 +930,7 @@ void new_packet_window(GtkWidget *w _U_, gboolean editable _U_)
gtk_widget_show(pane);
/* Tree view */
- tv_scrollw = main_tree_view_new(&prefs, &tree_view);
+ tv_scrollw = proto_tree_view_new(&prefs, &tree_view);
gtk_paned_pack1(GTK_PANED(pane), tv_scrollw, TRUE, TRUE);
gtk_widget_set_size_request(tv_scrollw, -1, TV_SIZE);
gtk_widget_show(tv_scrollw);