From fe6af8f1e913bb6ad147f1ed5178d69c5e74325c Mon Sep 17 00:00:00 2001 From: "Leandro A. F. Pereira" Date: Sat, 9 May 2009 17:55:47 -0300 Subject: Fix compilation error when libsoup support is disabled --- hardinfo2/syncmanager.c | 4 ++++ 1 file changed, 4 insertions(+) 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) -- cgit v1.2.3