[epiphany/wip/ephy-sync: 84/86] bookmarks: Add modified setter
- From: Gabriel - Cristian Ivascu <gabrielivascu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/wip/ephy-sync: 84/86] bookmarks: Add modified setter
- Date: Sat, 30 Jul 2016 17:37:07 +0000 (UTC)
commit 90bb88a6d03429bc4bc3874dfcbd871ede6cc67d
Author: Gabriel Ivascu <ivascu gabriel59 gmail com>
Date: Sat Jul 30 18:53:02 2016 +0300
bookmarks: Add modified setter
src/ephy-bookmark.c | 9 +++++++++
src/ephy-bookmark.h | 2 ++
2 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/src/ephy-bookmark.c b/src/ephy-bookmark.c
index 4b67f9b..a20afe0 100644
--- a/src/ephy-bookmark.c
+++ b/src/ephy-bookmark.c
@@ -281,6 +281,15 @@ ephy_bookmark_get_modified (EphyBookmark *self)
}
void
+ephy_bookmark_set_modified (EphyBookmark *self,
+ float modified)
+{
+ g_return_if_fail (EPHY_IS_BOOKMARK (self));
+
+ self->modified = modified;
+}
+
+void
ephy_bookmark_add_tag (EphyBookmark *self,
const char *tag)
{
diff --git a/src/ephy-bookmark.h b/src/ephy-bookmark.h
index a62dff8..21f6aa7 100644
--- a/src/ephy-bookmark.h
+++ b/src/ephy-bookmark.h
@@ -35,6 +35,8 @@ const char *ephy_bookmark_get_title (EphyBookmark *self);
const char *ephy_bookmark_get_id (EphyBookmark *self);
float ephy_bookmark_get_modified (EphyBookmark *self);
+void ephy_bookmark_set_modified (EphyBookmark *self,
+ float modified);
void ephy_bookmark_add_tag (EphyBookmark *self,
const char *tag);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]