aboutsummaryrefslogtreecommitdiff
path: root/hardinfo2
diff options
context:
space:
mode:
authorLeandro A. F. Pereira <leandro@hardinfo.org>2009-05-09 17:55:47 -0300
committerLeandro A. F. Pereira <leandro@hardinfo.org>2009-05-09 17:55:47 -0300
commitfe6af8f1e913bb6ad147f1ed5178d69c5e74325c (patch)
treef8400b15b6bf9e4dfe6491a3592c4540e6f8094a /hardinfo2
parent74518caa8b1b70dc11519454d69e8f449d2c4da2 (diff)
Fix compilation error when libsoup support is disabled
Diffstat (limited to 'hardinfo2')
-rw-r--r--hardinfo2/syncmanager.c4
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)