aboutsummaryrefslogtreecommitdiff
path: root/syncmanager.c
diff options
context:
space:
mode:
authorSimon Quigley <tsimonq2@ubuntu.com>2017-06-19 14:38:44 -0500
committerSimon Quigley <tsimonq2@ubuntu.com>2017-06-19 14:38:44 -0500
commitee6c3f9b4cf08a276c971dee66e1acdb32b3dff9 (patch)
treef7dc3f671114fd867204dca23871eaf2fa4ccc4a /syncmanager.c
parent7aeb5ac87c6105bd8fcc9b1fd12e37ba1550f587 (diff)
Import Upstream version 0.4.2.3
Diffstat (limited to 'syncmanager.c')
-rw-r--r--syncmanager.c11
1 files changed, 10 insertions, 1 deletions
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();