diff options
author | Leandro A. F. Pereira <leandro@hardinfo.org> | 2009-05-09 17:55:47 -0300 |
---|---|---|
committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2009-05-09 17:55:47 -0300 |
commit | fe6af8f1e913bb6ad147f1ed5178d69c5e74325c (patch) | |
tree | f8400b15b6bf9e4dfe6491a3592c4540e6f8094a /hardinfo2/syncmanager.c | |
parent | 74518caa8b1b70dc11519454d69e8f449d2c4da2 (diff) |
Fix compilation error when libsoup support is disabled
Diffstat (limited to 'hardinfo2/syncmanager.c')
-rw-r--r-- | hardinfo2/syncmanager.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/hardinfo2/syncmanager.c b/hardinfo2/syncmanager.c index 0aa560ca..68a436f3 100644 --- a/hardinfo2/syncmanager.c +++ b/hardinfo2/syncmanager.c @@ -115,10 +115,14 @@ void sync_manager_add_entry(SyncEntry * entry) void sync_manager_clear_entries(void) { +#ifdef HAS_LIBSOUP DEBUG("clearing syncmanager entries"); g_slist_free(entries); entries = NULL; +#else + DEBUG("libsoup support is disabled."); +#endif /* HAS_LIBSOUP */ } void sync_manager_show(GtkWidget *parent) |