51 |
gchar *globtemp; |
gchar *globtemp; |
52 |
gint globtype = 1; |
gint globtype = 1; |
53 |
|
|
54 |
|
/* qsort/bsearch callback functions */ |
55 |
|
typedef int (*compar_callback_fn) (const void *, const void *); |
56 |
|
|
57 |
/* SETUP DIALOG */ |
/* SETUP DIALOG */ |
58 |
void |
void |
59 |
on_setupbutton_clicked (GtkButton * button, gpointer user_data) |
on_setupbutton_clicked (GtkButton * button, gpointer user_data) |
674 |
break; |
break; |
675 |
|
|
676 |
/* copy and re-order the array */ |
/* copy and re-order the array */ |
677 |
qsort (fields, QSO_FIELDS, sizeof (gint), (__compar_fn_t) compare_fields); |
qsort (fields, QSO_FIELDS, sizeof (gint), (compar_callback_fn) compare_fields); |
678 |
if (i < QSO_FIELDS) |
if (i < QSO_FIELDS) |
679 |
{ |
{ |
680 |
for (i = 0; i < QSO_FIELDS; i++) |
for (i = 0; i < QSO_FIELDS; i++) |