[epiphany] sync-utils: Fix bad argument type
- From: Gabriel Ivașcu <gabrielivascu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] sync-utils: Fix bad argument type
- Date: Wed, 15 Nov 2017 17:52:08 +0000 (UTC)
commit 5c1fa0bdebd45d52503336f7215b445f6ce1a6cf
Author: Gabriel Ivascu <gabrielivascu gnome org>
Date: Wed Nov 15 19:51:00 2017 +0200
sync-utils: Fix bad argument type
lib/ephy-sync-utils.c | 6 +++---
lib/ephy-sync-utils.h | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/lib/ephy-sync-utils.c b/lib/ephy-sync-utils.c
index 140ff53..e0da583 100644
--- a/lib/ephy-sync-utils.c
+++ b/lib/ephy-sync-utils.c
@@ -353,7 +353,7 @@ ephy_sync_utils_get_bookmarks_sync_time (void)
}
void
-ephy_sync_utils_set_bookmarks_sync_is_initial (double is_initial)
+ephy_sync_utils_set_bookmarks_sync_is_initial (gboolean is_initial)
{
g_settings_set_boolean (EPHY_SETTINGS_SYNC, EPHY_PREFS_SYNC_BOOKMARKS_INITIAL, is_initial);
}
@@ -383,7 +383,7 @@ ephy_sync_utils_get_passwords_sync_time (void)
}
void
-ephy_sync_utils_set_passwords_sync_is_initial (double is_initial)
+ephy_sync_utils_set_passwords_sync_is_initial (gboolean is_initial)
{
g_settings_set_boolean (EPHY_SETTINGS_SYNC, EPHY_PREFS_SYNC_PASSWORDS_INITIAL, is_initial);
}
@@ -413,7 +413,7 @@ ephy_sync_utils_get_history_sync_time (void)
}
void
-ephy_sync_utils_set_history_sync_is_initial (double is_initial)
+ephy_sync_utils_set_history_sync_is_initial (gboolean is_initial)
{
g_settings_set_boolean (EPHY_SETTINGS_SYNC, EPHY_PREFS_SYNC_HISTORY_INITIAL, is_initial);
}
diff --git a/lib/ephy-sync-utils.h b/lib/ephy-sync-utils.h
index 6cfecf0..083bea7 100644
--- a/lib/ephy-sync-utils.h
+++ b/lib/ephy-sync-utils.h
@@ -69,19 +69,19 @@ gboolean ephy_sync_utils_sync_with_firefox (void);
gboolean ephy_sync_utils_bookmarks_sync_is_enabled (void);
void ephy_sync_utils_set_bookmarks_sync_time (double time);
double ephy_sync_utils_get_bookmarks_sync_time (void);
-void ephy_sync_utils_set_bookmarks_sync_is_initial (double is_initial);
+void ephy_sync_utils_set_bookmarks_sync_is_initial (gboolean is_initial);
gboolean ephy_sync_utils_get_bookmarks_sync_is_initial (void);
gboolean ephy_sync_utils_passwords_sync_is_enabled (void);
void ephy_sync_utils_set_passwords_sync_time (double time);
double ephy_sync_utils_get_passwords_sync_time (void);
-void ephy_sync_utils_set_passwords_sync_is_initial (double is_initial);
+void ephy_sync_utils_set_passwords_sync_is_initial (gboolean is_initial);
gboolean ephy_sync_utils_get_passwords_sync_is_initial (void);
gboolean ephy_sync_utils_history_sync_is_enabled (void);
void ephy_sync_utils_set_history_sync_time (double time);
double ephy_sync_utils_get_history_sync_time (void);
-void ephy_sync_utils_set_history_sync_is_initial (double is_initial);
+void ephy_sync_utils_set_history_sync_is_initial (gboolean is_initial);
gboolean ephy_sync_utils_get_history_sync_is_initial (void);
gboolean ephy_sync_utils_open_tabs_sync_is_enabled (void);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]