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

Diff of /xlog/src/utils.c

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

revision 1.16 by pa4tu, Mon Aug 18 17:53:20 2003 UTC revision 1.17 by pa4tu, Tue Aug 19 18:41:26 2003 UTC
# Line 41  Line 41 
41    
42  #if WANT_HAMLIB  #if WANT_HAMLIB
43  #       include <hamlib/rig.h>  #       include <hamlib/rig.h>
44    # include "hamlib-utils.h"
45  #endif  #endif
46    
47  gint statusbartimer;  gint statusbartimer;
# Line 63  extern GdkColormap *colormap; Line 64  extern GdkColormap *colormap;
64  extern gchar *searchpx;  extern gchar *searchpx;
65    
66  #if WANT_HAMLIB  #if WANT_HAMLIB
 extern gint hamlibtimer;  
 extern RIG *myrig;  
67  extern GList *riglist;  extern GList *riglist;
68  #endif  #endif
69    
# Line 228  save_windowsize_and_cleanup (void) Line 227  save_windowsize_and_cleanup (void)
227    savehistory ();    savehistory ();
228    
229  #if WANT_HAMLIB  #if WANT_HAMLIB
230      if (preferences.hamlib > 0)
231        stop_hamlib ();
232    if (riglist)    if (riglist)
233      g_list_free (riglist);      g_list_free (riglist);
   if (hamlibtimer != -1)  
     g_source_remove (hamlibtimer);  
   if (preferences.hamlib > 0)  
     {  
       rig_close ((RIG *) myrig);  
       rig_cleanup ((RIG *) myrig);  
     }  
234  #endif  #endif
235    
236    if (prefixes)    if (prefixes)

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

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