From Michael Lum:

Statistics data structure was not being passed to the draw routine.


svn path=/trunk/; revision=15425
This commit is contained in:
Ronnie Sahlberg 2005-08-19 08:43:58 +00:00
parent b7b0df514c
commit eebed02d9d
4 changed files with 13 additions and 15 deletions

View File

@ -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);
}

View File

@ -412,7 +412,7 @@ ansi_map_stat_gtk_cb(
i++;
}
ansi_map_stat_draw(NULL);
ansi_map_stat_draw(&stat);
}

View File

@ -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

View File

@ -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);
}