Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Ethereal-dev: [Ethereal-dev] ethereal filter window gtk bug

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Eduardo Pérez Ureta <eperez@xxxxxxxxxxxxxxx>
Date: Sun, 25 Mar 2001 19:42:05 +0000
Please don't reinvent the wheel !!!
Look another gtk sources to make the code !

Here's a patch I've applied to two different programs (I'm sure I'll have to apply it more times)

                Eduardo P�rez Ureta

-- 
ISO 8601 NOW! http://www.cl.cam.ac.uk/~mgk25/iso-time.html
--- bad/dfilter_expr_dlg.c	Sat Mar  3 14:34:08 2001
+++ dfilter_expr_dlg.c	Sun Mar 25 18:57:21 2001
@@ -979,8 +979,7 @@
 	gtk_ctree_set_line_style(GTK_CTREE(tree), GTK_CTREE_LINES_NONE);
 	gtk_signal_connect(GTK_OBJECT(tree), "tree-select-row",
 			     GTK_SIGNAL_FUNC(field_select_row_cb), tree);
-	gtk_scrolled_window_add_with_viewport(GTK_SCROLLED_WINDOW(tree_scrolled_win),
-						tree);
+	gtk_container_add(GTK_CONTAINER(tree_scrolled_win), tree);
 
 	/*
 	 * GTK's annoying CTree widget will deliver a selection event