/[xlog]/xlog/src/callbacks_otherdialogs.c
ViewVC logotype

Diff of /xlog/src/callbacks_otherdialogs.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by pa4tu, Fri Jan 3 00:44:56 2003 UTC revision 1.3 by pa4tu, Fri Jan 3 08:57:39 2003 UTC
# Line 51  extern GList *logwindowlist; Line 51  extern GList *logwindowlist;
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)
# Line 671  on_logeditorokbutton_clicked (GtkButton Line 674  on_logeditorokbutton_clicked (GtkButton
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++)

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26