| 192 | | row = g_list_append(row, g_strdup(result[column_count++])); |
|---|
| 193 | | |
|---|
| 194 | | table = g_list_append(table, row); |
|---|
| 195 | | } |
|---|
| | 192 | /* speed up - prepend instead of append */ |
|---|
| | 193 | row = g_list_prepend(row, g_strdup(result[column_count++])); |
|---|
| | 194 | |
|---|
| | 195 | /* items got prepended, reverse the list again */ |
|---|
| | 196 | row = g_list_reverse(row); |
|---|
| | 197 | |
|---|
| | 198 | /* speed up - prepend instead of append. */ |
|---|
| | 199 | table = g_list_prepend(table, row); |
|---|
| | 200 | } |
|---|
| | 201 | |
|---|
| | 202 | /* items got prepended, reverse the list again */ |
|---|
| | 203 | table = g_list_reverse(table); |
|---|