aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/gsm_a_stat.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2009-03-08 08:40:20 +0000
committerAnders Broman <anders.broman@ericsson.com>2009-03-08 08:40:20 +0000
commit46e3b3218fe9f6512071c591e8d910693444587d (patch)
tree3b76e9846ef75af1eeef199908e8405765b68b0f /gtk/gsm_a_stat.c
parenta9103bb14f4c5f142fd293a7bfbdbd8a16a44cc7 (diff)
Get rid of more code related to the Clist removal.
svn path=/trunk/; revision=27648
Diffstat (limited to 'gtk/gsm_a_stat.c')
-rw-r--r--gtk/gsm_a_stat.c21
1 files changed, 1 insertions, 20 deletions
diff --git a/gtk/gsm_a_stat.c b/gtk/gsm_a_stat.c
index b872422cf7..42da8f432e 100644
--- a/gtk/gsm_a_stat.c
+++ b/gtk/gsm_a_stat.c
@@ -634,9 +634,7 @@ gsm_a_stat_gtk_sacch_rr_cb(
GtkWidget *w _U_,
gpointer d _U_)
{
- int i;
-
-
+
/*
* if the window is already open, bring it to front
*/
@@ -647,23 +645,6 @@ gsm_a_stat_gtk_sacch_rr_cb(
}
gsm_a_stat_gtk_win_create(&dlg_sacch_rr, "GSM A-I/F SACCH Statistics");
-
- i = 0;
- while (gsm_a_sacch_msg_rr_strings[i].strptr)
- {
- dlg_sacch_rr.entries[0] = g_strdup_printf("0x%02x",
- gsm_a_sacch_msg_rr_strings[i].value);
-
- dlg_sacch_rr.entries[1] = g_strdup(gsm_a_sacch_msg_rr_strings[i].strptr);
-
- dlg_sacch_rr.entries[2] = g_strdup("0");
-
- gtk_clist_insert(GTK_CLIST(dlg_sacch_rr.table), i, dlg_sacch_rr.entries);
- gtk_clist_set_row_data(GTK_CLIST(dlg_sacch_rr.table), i, (gpointer)(long) i);
-
- i++;
- }
-
gsm_a_stat_draw(&gsm_a_stat);
}