From ee6c3f9b4cf08a276c971dee66e1acdb32b3dff9 Mon Sep 17 00:00:00 2001 From: Simon Quigley Date: Mon, 19 Jun 2017 14:38:44 -0500 Subject: Import Upstream version 0.4.2.3 --- syncmanager.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'syncmanager.c') diff --git a/syncmanager.c b/syncmanager.c index 599804eb..f4949644 100644 --- a/syncmanager.c +++ b/syncmanager.c @@ -94,6 +94,15 @@ static void sync_dialog_netarea_start_actions(SyncDialog * sd, #endif /* HAS_LIBSOUP */ +gint sync_manager_count_entries(void) +{ +#ifdef HAS_LIBSOUP + return g_slist_length(entries); +#else + return 0; +#endif +} + void sync_manager_add_entry(SyncEntry * entry) { #ifdef HAS_LIBSOUP @@ -110,7 +119,7 @@ void sync_manager_show(void) { #ifndef HAS_LIBSOUP g_warning - ("HardInfo was compiled without libsoup support. (Network Manager requires it.)"); + ("HardInfo was compiled without libsoup support. (Network Updater requires it.)"); #else /* !HAS_LIBSOUP */ SyncDialog *sd = sync_dialog_new(); -- cgit v1.2.3