forked from osmocom/wireshark
From Michael Lum:
Statistics data structure was not being passed to the draw routine. svn path=/trunk/; revision=15425
This commit is contained in:
parent
b7b0df514c
commit
eebed02d9d
|
@ -408,7 +408,7 @@ ansi_a_stat_gtk_bsmap_cb(
|
|||
i++;
|
||||
}
|
||||
|
||||
ansi_a_stat_draw(NULL);
|
||||
ansi_a_stat_draw(&stat);
|
||||
}
|
||||
|
||||
|
||||
|
@ -448,7 +448,7 @@ ansi_a_stat_gtk_dtap_cb(
|
|||
i++;
|
||||
}
|
||||
|
||||
ansi_a_stat_draw(NULL);
|
||||
ansi_a_stat_draw(&stat);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -412,7 +412,7 @@ ansi_map_stat_gtk_cb(
|
|||
i++;
|
||||
}
|
||||
|
||||
ansi_map_stat_draw(NULL);
|
||||
ansi_map_stat_draw(&stat);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -495,7 +495,7 @@ gsm_a_stat_gtk_bssmap_cb(
|
|||
i++;
|
||||
}
|
||||
|
||||
gsm_a_stat_draw(NULL);
|
||||
gsm_a_stat_draw(&stat);
|
||||
}
|
||||
|
||||
|
||||
|
@ -538,7 +538,7 @@ gsm_a_stat_gtk_dtap_cb(
|
|||
i++;
|
||||
}
|
||||
|
||||
gsm_a_stat_draw(NULL);
|
||||
gsm_a_stat_draw(&stat);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -430,15 +430,13 @@ gsm_map_stat_gtk_cb(
|
|||
|
||||
dlg.entries[1] = g_strdup(gsm_map_opr_code_strings[i].strptr);
|
||||
|
||||
dlg.entries[2] = g_strdup("0");
|
||||
dlg.entries[3] = g_strdup("0");
|
||||
dlg.entries[4] = g_strdup("0");
|
||||
dlg.entries[5] = g_strdup("0");
|
||||
dlg.entries[6] = g_strdup("0");
|
||||
dlg.entries[7] = g_strdup("0");
|
||||
dlg.entries[8] = g_strdup("0");
|
||||
dlg.entries[9] = g_strdup("0");
|
||||
dlg.entries[10] = g_strdup("0");
|
||||
/*
|
||||
* set the rest of the columns
|
||||
*/
|
||||
for (i = 2; i < GSM_MAP_INIT_TABLE_NUM_COLUMNS; i++)
|
||||
{
|
||||
dlg.entries[i] = g_strdup("0");
|
||||
}
|
||||
|
||||
gtk_clist_insert(GTK_CLIST(dlg.table), i, dlg.entries);
|
||||
gtk_clist_set_row_data(GTK_CLIST(dlg.table), i, (gpointer) i);
|
||||
|
@ -446,7 +444,7 @@ gsm_map_stat_gtk_cb(
|
|||
i++;
|
||||
}
|
||||
|
||||
gsm_map_stat_draw(NULL);
|
||||
gsm_map_stat_draw(&gsm_map_stat);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue