[epiphany/wip/sync-rebase: 54/74] ephy-bookmark: Replace G_DEFINE_TYPE_EXTENDED with G_DEFINE_TYPE_WITH_CODE



commit 747c0aa3159c22845cea7127edea48ab16f40f93
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 e1a9b47..73d4425 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]