[epiphany/wip/ephy-sync: 96/126] bookmarks: Add modified setter
- From: Gabriel - Cristian Ivascu <gabrielivascu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/wip/ephy-sync: 96/126] bookmarks: Add modified setter
- Date: Fri, 19 Aug 2016 17:39:38 +0000 (UTC)
commit f8c020804d1bd4441b7e7eb240fb20d8c5d40df6
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 004eba4..eb299ff 100644
--- a/src/ephy-bookmark.c
+++ b/src/ephy-bookmark.c
@@ -337,6 +337,15 @@ ephy_bookmark_get_id (EphyBookmark *self)
return self->id;
}
+void
+ephy_bookmark_set_modified (EphyBookmark *self,
+ float modified)
+{
+ g_return_if_fail (EPHY_IS_BOOKMARK (self));
+
+ self->modified = modified;
+}
+
float
ephy_bookmark_get_modified (EphyBookmark *self)
{
diff --git a/src/ephy-bookmark.h b/src/ephy-bookmark.h
index 3b985d4..493a58c 100644
--- a/src/ephy-bookmark.h
+++ b/src/ephy-bookmark.h
@@ -44,6 +44,8 @@ const char *ephy_bookmark_get_title (EphyBookmark *self);
const char *ephy_bookmark_get_id (EphyBookmark *self);
+void ephy_bookmark_set_modified (EphyBookmark *self,
+ float modified);
float ephy_bookmark_get_modified (EphyBookmark *self);
void ephy_bookmark_add_tag (EphyBookmark *self,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]