Revert "gtk: Fix crash on Analyze RTP stream"

Qt is affected by a similar issue, a different approach is needed.

This reverts commit 01bd832b9d.

Change-Id: Ic03807e8d00a3114bac1507762df05870b0346d9
Reviewed-on: https://code.wireshark.org/review/10727
Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
Peter Wu 2015-10-01 16:29:59 +02:00 committed by Michael Mann
parent a6f0923166
commit ba5df1eea6
1 changed files with 0 additions and 6 deletions

View File

@ -1087,12 +1087,7 @@ rtpstream_dlg_create (void)
static void
rtpstream_dlg_update(GList *list_lcl)
{
GtkTreeSelection *selection;
if (rtp_stream_dlg != NULL) {
/* Disable selection to avoid rtpstream_view_selection_func from
* triggering and thereby accessing invalid memory. */
selection = gtk_tree_view_get_selection(GTK_TREE_VIEW(list));
gtk_tree_selection_set_mode(selection, GTK_SELECTION_NONE);
gtk_list_store_clear(list_store);
streams_nb = 0;
@ -1103,7 +1098,6 @@ rtpstream_dlg_update(GList *list_lcl)
list_lcl = g_list_next(list_lcl);
}
gtk_tree_selection_set_mode(selection, GTK_SELECTION_MULTIPLE);
rtpstream_on_unselect(NULL, NULL);
}