[epiphany/wip/sync-rebase: 66/86] ephy-bookmark: Replace G_DEFINE_TYPE_EXTENDED with G_DEFINE_TYPE_WITH_CODE
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/wip/sync-rebase: 66/86] ephy-bookmark: Replace G_DEFINE_TYPE_EXTENDED with G_DEFINE_TYPE_WITH_CODE
- Date: Fri, 7 Oct 2016 22:54:16 +0000 (UTC)
commit 81236ba61210052f92948a3cb527ebbca70edfac
Author: Gabriel Ivascu <ivascu gabriel59 gmail com>
Date: Mon Aug 29 20:16:05 2016 +0300
ephy-bookmark: Replace G_DEFINE_TYPE_EXTENDED with G_DEFINE_TYPE_WITH_CODE
src/bookmarks/ephy-bookmark.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/bookmarks/ephy-bookmark.c b/src/bookmarks/ephy-bookmark.c
index ecb8c38..eb6249c 100644
--- a/src/bookmarks/ephy-bookmark.c
+++ b/src/bookmarks/ephy-bookmark.c
@@ -45,8 +45,9 @@ static JsonSerializableIface *serializable_iface = NULL;
static void json_serializable_iface_init (gpointer g_iface);
-G_DEFINE_TYPE_EXTENDED (EphyBookmark, ephy_bookmark, G_TYPE_OBJECT, 0,
- G_IMPLEMENT_INTERFACE (JSON_TYPE_SERIALIZABLE, json_serializable_iface_init))
+G_DEFINE_TYPE_WITH_CODE (EphyBookmark, ephy_bookmark, G_TYPE_OBJECT,
+ G_IMPLEMENT_INTERFACE (JSON_TYPE_SERIALIZABLE,
+ json_serializable_iface_init))
enum {
PROP_0,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]